RobotJelly commited on
Commit
20085d4
1 Parent(s): bba006e
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -82,8 +82,7 @@ def image_search(search_text, search_image, option):
82
  # Find the matched Images
83
  matched_images = find_matches(image_feature, photo_features, photo_ids, 4)
84
  #is_input_image = True
85
- images = show_output_image(matched_images)
86
- return images
87
 
88
  gr.Interface(fn=image_search,
89
  inputs=[gr.inputs.Textbox(lines=7, label="Input Text"),
82
  # Find the matched Images
83
  matched_images = find_matches(image_feature, photo_features, photo_ids, 4)
84
  #is_input_image = True
85
+ return show_output_image(matched_images, photos)
 
86
 
87
  gr.Interface(fn=image_search,
88
  inputs=[gr.inputs.Textbox(lines=7, label="Input Text"),