anilbhatt1 commited on
Commit
c74e7f2
1 Parent(s): ada2249

Modified app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="text",
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)