Update app.py
Browse files
app.py
CHANGED
|
@@ -89,5 +89,7 @@ with gr.Blocks() as iface:
|
|
| 89 |
|
| 90 |
# Set up the event listeners
|
| 91 |
submit_btn.click(main, inputs=[text_input, image_input, unit], outputs=output_box)
|
|
|
|
|
|
|
| 92 |
|
| 93 |
-
iface.launch() # Launch the Gradio interface
|
|
|
|
| 89 |
|
| 90 |
# Set up the event listeners
|
| 91 |
submit_btn.click(main, inputs=[text_input, image_input, unit], outputs=output_box)
|
| 92 |
+
|
| 93 |
+
gr.close_all()
|
| 94 |
|
| 95 |
+
iface.queue().launch() # Launch the Gradio interface
|