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