Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse filesListen to 0.0.0.0:7860 so that the app can start
app.py
CHANGED
@@ -455,7 +455,7 @@ with block:
|
|
455 |
|
456 |
|
457 |
block.launch(
|
458 |
-
server_name='0.0.0.0' if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
459 |
share=False,
|
460 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
461 |
)
|
|
|
455 |
|
456 |
|
457 |
block.launch(
|
458 |
+
server_name='0.0.0.0', #if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
459 |
share=False,
|
460 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
461 |
)
|