vilarin commited on
Commit
73b2985
·
verified ·
1 Parent(s): bf30b16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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