Vijish commited on
Commit
415d5da
1 Parent(s): 070b553

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -87,8 +87,8 @@ def predict(text,img):
87
  #ipyplot.plot_images(imgs,img_width=350)
88
  return imgs
89
 
90
- text = gr.inputs.Textbox(lines=5, label="Context")
91
- img = gr.inputs.Image()
92
 
93
 
94
- gr_interface = gr.Interface(fn=predict, img, text, outputs="image", title='Search inside image').launch();
 
87
  #ipyplot.plot_images(imgs,img_width=350)
88
  return imgs
89
 
90
+ #text = gr.inputs.Textbox(lines=5, label="Context")
91
+ #img = gr.inputs.Image()
92
 
93
 
94
+ gr_interface = gr.Interface(fn=predict,["img", gr.inputs.Textbox(lines=1, label="Context")], outputs="image", title='Search inside image').launch();