merve HF staff commited on
Commit
aadf252
·
1 Parent(s): 9dd290a

Update pipeline.py

Browse files
Files changed (1) hide show
  1. 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(model_id)
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