Spaces:
Sleeping
Sleeping
Commit
·
c74e7f2
1
Parent(s):
ada2249
Modified app.py
Browse files
app.py
CHANGED
@@ -224,8 +224,8 @@ def gradio_fn(text):
|
|
224 |
return np_img_array
|
225 |
|
226 |
demo = gr.Interface(fn=gradio_fn,
|
227 |
-
inputs="
|
228 |
-
outputs=gr.Image(height=224, width=224),
|
229 |
title="CLIP Image Search")
|
230 |
|
231 |
demo.launch(share=True)
|
|
|
224 |
return np_img_array
|
225 |
|
226 |
demo = gr.Interface(fn=gradio_fn,
|
227 |
+
inputs=gr.Textbox(info="Enter the description of image you wish to search, CLIP will give the best image available in corpus that matches your search"),
|
228 |
+
outputs=gr.Image(height=224, width=224),
|
229 |
title="CLIP Image Search")
|
230 |
|
231 |
demo.launch(share=True)
|