Shivdutta commited on
Commit
388f76d
·
verified ·
1 Parent(s): 3db666c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- #Acknowledgments:
2
  #This project is inspired by:
3
  #1. https://github.com/haltakov/natural-language-image-search by Vladimir Haltakov
4
  #2. OpenAI's CLIP
@@ -100,7 +100,7 @@ def find_best_matches(image, mode, text):
100
 
101
  gr.Interface(fn=find_best_matches,
102
  inputs=[
103
- gr.Image(label="Image to search", optional=True),
104
  gr.Radio([T2I, I2I]),
105
  gr.Textbox(lines=1, label="Text query", placeholder="Introduce the search text...",
106
  )],
 
1
+ #Acknowledgments:
2
  #This project is inspired by:
3
  #1. https://github.com/haltakov/natural-language-image-search by Vladimir Haltakov
4
  #2. OpenAI's CLIP
 
100
 
101
  gr.Interface(fn=find_best_matches,
102
  inputs=[
103
+ gr.Image(label="Image to search"),
104
  gr.Radio([T2I, I2I]),
105
  gr.Textbox(lines=1, label="Text query", placeholder="Introduce the search text...",
106
  )],