Spaces:
Build error
Build error
First model version
Browse files
app.py
CHANGED
@@ -66,14 +66,15 @@ iface = gr.Interface(
|
|
66 |
article = "You find more information about this demo on my ✨ github repository [davertor](https://github.com/davertor/image-search-engine-for-flickr-photos-gallery)",
|
67 |
fn=find_best_matches,
|
68 |
inputs=[
|
69 |
-
gr.
|
70 |
lines=1,
|
71 |
label="Write what you are looking for in an image...",
|
72 |
placeholder="Text Here..."),
|
73 |
-
gr.
|
74 |
],
|
75 |
-
outputs=gr.
|
76 |
examples=[
|
77 |
-
[("persons in the
|
|
|
78 |
]
|
79 |
-
|
|
|
66 |
article = "You find more information about this demo on my ✨ github repository [davertor](https://github.com/davertor/image-search-engine-for-flickr-photos-gallery)",
|
67 |
fn=find_best_matches,
|
68 |
inputs=[
|
69 |
+
gr.Textbox(
|
70 |
lines=1,
|
71 |
label="Write what you are looking for in an image...",
|
72 |
placeholder="Text Here..."),
|
73 |
+
gr.Slider(1, 9, step=1, value=3)
|
74 |
],
|
75 |
+
outputs=gr.Gallery().style(grid=[1], height="auto"),
|
76 |
examples=[
|
77 |
+
[("persons in the podium"), 3],
|
78 |
+
[("a man with orange t-shirt"), 3],
|
79 |
]
|
80 |
+
).launch()
|