Spaces:
Running
Running
Update ui/main.py
Browse files- ui/main.py +1 -1
ui/main.py
CHANGED
@@ -67,7 +67,7 @@ def run():
|
|
67 |
|
68 |
uii.ui_restart_server = False
|
69 |
try:
|
70 |
-
ui.queue().launch(inbrowser=True, server_name=server_name, server_port=server_port,
|
71 |
except Exception as e:
|
72 |
print(f'Exception {e} when launching Gradio Server!')
|
73 |
uii.ui_restart_server = True
|
|
|
67 |
|
68 |
uii.ui_restart_server = False
|
69 |
try:
|
70 |
+
ui.queue().launch(inbrowser=True, server_name=server_name, server_port=server_port, prevent_thread_lock=True, show_error=True)
|
71 |
except Exception as e:
|
72 |
print(f'Exception {e} when launching Gradio Server!')
|
73 |
uii.ui_restart_server = True
|