Upload app.py
Browse files
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"
|
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 |
)],
|