Skip to content

Commit

Permalink
fix: append
Browse files Browse the repository at this point in the history
  • Loading branch information
ispirtraian committed Apr 19, 2024
1 parent 121d6a1 commit 1264012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/serving/serving_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def predict_images(self, image_data_list: List[bytes], params: dict = None):
images = []
for image_data in image_data_list:
image = Image.open(io.BytesIO(image_data))
images.add(image)
images.append(image)
self.P(f"Predict {len(image_data_list)} images")
return self._predict_job('image', images, params)

Expand Down

0 comments on commit 1264012

Please sign in to comment.