Spaces:
Build error
Build error
Commit
·
9d2355f
1
Parent(s):
9073f03
app.py
Browse files
app.py
CHANGED
@@ -54,13 +54,13 @@ def image_search(Option, topk, search_text, search_image):
|
|
54 |
return display_matches(similarity, topk+1)
|
55 |
|
56 |
gr.Interface(fn=image_search, title="Search Image",
|
57 |
-
description="Enter the text or image to search the
|
58 |
article="""
|
59 |
Instructions:-
|
60 |
1. Select the option - `Text to Image` OR `Image To Image`.
|
61 |
2. Select the no. of most relevant images you want to see.
|
62 |
3. Then accordingly enter the text or image.
|
63 |
-
4. Then you will get the images on right. To enter another text/image first clear it then follow
|
64 |
""",
|
65 |
theme="huggingface",
|
66 |
inputs=[gr.inputs.Dropdown(["Text-To-Image", "Image-To-Image"]),
|
|
|
54 |
return display_matches(similarity, topk+1)
|
55 |
|
56 |
gr.Interface(fn=image_search, title="Search Image",
|
57 |
+
description="Enter the text or image to search for the most relevant images...",
|
58 |
article="""
|
59 |
Instructions:-
|
60 |
1. Select the option - `Text to Image` OR `Image To Image`.
|
61 |
2. Select the no. of most relevant images you want to see.
|
62 |
3. Then accordingly enter the text or image.
|
63 |
+
4. Then you will get the images on right. To enter another text/image first clear it then follow steps 1-3.
|
64 |
""",
|
65 |
theme="huggingface",
|
66 |
inputs=[gr.inputs.Dropdown(["Text-To-Image", "Image-To-Image"]),
|