Spaces:
Running
Running
shibing624
commited on
Commit
•
5928bbc
1
Parent(s):
597f46d
Update app.py
Browse files
app.py
CHANGED
@@ -206,8 +206,8 @@ def main():
|
|
206 |
inputs=[input_image],
|
207 |
)
|
208 |
|
209 |
-
btn_submit = gr.Button(
|
210 |
-
output = gr.
|
211 |
btn_submit.click(search_image, inputs=[input_text, input_image],
|
212 |
outputs=output, show_progress=True)
|
213 |
btn_submit.click(reset_user_input, outputs=[input_text, input_image])
|
|
|
206 |
inputs=[input_image],
|
207 |
)
|
208 |
|
209 |
+
btn_submit = gr.Button("Submit")
|
210 |
+
output = gr.HTML("Search results")
|
211 |
btn_submit.click(search_image, inputs=[input_text, input_image],
|
212 |
outputs=output, show_progress=True)
|
213 |
btn_submit.click(reset_user_input, outputs=[input_text, input_image])
|