Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -14,7 +14,7 @@ from PIL import Image
|
|
| 14 |
class PreTrainedPipeline():
|
| 15 |
def __init__(self, model_id: str):
|
| 16 |
|
| 17 |
-
self.model = keras.models.load_model(./tf_model.h5)
|
| 18 |
|
| 19 |
def __call__(self, inputs: "Image.Image")-> List[Dict[str, Any]]:
|
| 20 |
|
|
|
|
| 14 |
class PreTrainedPipeline():
|
| 15 |
def __init__(self, model_id: str):
|
| 16 |
|
| 17 |
+
self.model = keras.models.load_model("./tf_model.h5")
|
| 18 |
|
| 19 |
def __call__(self, inputs: "Image.Image")-> List[Dict[str, Any]]:
|
| 20 |
|