fix to compile
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ def detect_objects(image, prompt, show_masks=True, show_boxes=True, crop_options
|
|
140 |
output_image_path = 'output_image.jpeg'
|
141 |
plt.imsave(output_image_path, output_image)
|
142 |
|
143 |
-
return output_image_path
|
144 |
|
145 |
|
146 |
app = gr.Interface(
|
|
|
140 |
output_image_path = 'output_image.jpeg'
|
141 |
plt.imsave(output_image_path, output_image)
|
142 |
|
143 |
+
return [{"tmp": output_image_path}, [output_image_path]]
|
144 |
|
145 |
|
146 |
app = gr.Interface(
|