Spaces:
Running
on
A10G
Running
on
A10G
updated app.py
Browse filescommented the server name information etc. as it is not needed while hosting on Spaces
app.py
CHANGED
@@ -394,8 +394,8 @@ with block:
|
|
394 |
run_edit.click(fn=process, inputs=[gr.State('edit')] + ips, outputs=[result_gallery, result_info])
|
395 |
|
396 |
block.launch(
|
397 |
-
server_name='0.0.0.0' if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
398 |
-
share=False,
|
399 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
400 |
)
|
401 |
# block.launch(server_name='0.0.0.0')
|
|
|
394 |
run_edit.click(fn=process, inputs=[gr.State('edit')] + ips, outputs=[result_gallery, result_info])
|
395 |
|
396 |
block.launch(
|
397 |
+
#server_name='0.0.0.0' if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
398 |
+
#share=False,
|
399 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
400 |
)
|
401 |
# block.launch(server_name='0.0.0.0')
|