Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
|
|
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();
|