waleko commited on
Commit
a100834
·
1 Parent(s): 45bdc95

fix to compile

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