Spaces:
Running
Running
oceansweep
commited on
Commit
•
077a7d5
1
Parent(s):
c8770f3
Update App_Function_Libraries/Gradio_Related.py
Browse files
App_Function_Libraries/Gradio_Related.py
CHANGED
@@ -402,9 +402,9 @@ def launch_ui(share_public=None, server_mode=False):
|
|
402 |
if share==True:
|
403 |
iface.launch(share=True)
|
404 |
elif server_mode and not share_public:
|
405 |
-
iface.launch(share=False, server_name="0.0.0.0", server_port=server_port_variable, )
|
406 |
else:
|
407 |
try:
|
408 |
-
iface.launch(share=False, server_name="0.0.0.0", server_port=server_port_variable, )
|
409 |
except Exception as e:
|
410 |
logging.error(f"Error launching interface: {str(e)}")
|
|
|
402 |
if share==True:
|
403 |
iface.launch(share=True)
|
404 |
elif server_mode and not share_public:
|
405 |
+
iface.launch(share=False, server_name="0.0.0.0", server_port=server_port_variable, debug=True)
|
406 |
else:
|
407 |
try:
|
408 |
+
iface.launch(share=False, server_name="0.0.0.0", server_port=server_port_variable, debug=True)
|
409 |
except Exception as e:
|
410 |
logging.error(f"Error launching interface: {str(e)}")
|