Spaces:
Sleeping
Sleeping
Kamarov
commited on
Commit
·
d6fffa4
1
Parent(s):
18c459c
修复了问题无法显示的bug
Browse files
app.py
CHANGED
@@ -423,8 +423,8 @@ with gr.Blocks() as demo:
|
|
423 |
if __name__ == "__main__":
|
424 |
|
425 |
app = gr.mount_gradio_app(app, demo, path="/")
|
426 |
-
host = "127.0.0.1"
|
427 |
-
|
428 |
# import subprocess
|
429 |
# subprocess.Popen(["python", "test_server.py"])
|
430 |
uvicorn.run(app, host=host, port=7860)
|
|
|
423 |
if __name__ == "__main__":
|
424 |
|
425 |
app = gr.mount_gradio_app(app, demo, path="/")
|
426 |
+
# host = "127.0.0.1"
|
427 |
+
host = "0.0.0.0"
|
428 |
# import subprocess
|
429 |
# subprocess.Popen(["python", "test_server.py"])
|
430 |
uvicorn.run(app, host=host, port=7860)
|