Vijish commited on
Commit
3e99bd6
1 Parent(s): be43aea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -87,10 +87,14 @@ 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
- img = "image"
94
 
95
 
96
- gr_interface = gr.Interface(fn=predict,"image", 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
+ #img = "image"
94
 
95
 
96
+
97
+ gr_interface = gr.Interface(fn=predict,[
98
+ "image",
99
+ text ,
100
+ ], outputs="image", title='Search inside image').launch();