Spaces:
Sleeping
Sleeping
Kamarov
commited on
Commit
·
2190f19
1
Parent(s):
d539841
修复了lotsa标号没对齐的问题
Browse files
app.py
CHANGED
@@ -424,8 +424,8 @@ with gr.Blocks() as demo:
|
|
424 |
if __name__ == "__main__":
|
425 |
|
426 |
app = gr.mount_gradio_app(app, demo, path="/")
|
427 |
-
host = "127.0.0.1"
|
428 |
-
|
429 |
# import subprocess
|
430 |
# subprocess.Popen(["python", "test_server.py"])
|
431 |
uvicorn.run(app, host=host, port=7860)
|
|
|
424 |
if __name__ == "__main__":
|
425 |
|
426 |
app = gr.mount_gradio_app(app, demo, path="/")
|
427 |
+
# host = "127.0.0.1"
|
428 |
+
host = "0.0.0.0"
|
429 |
# import subprocess
|
430 |
# subprocess.Popen(["python", "test_server.py"])
|
431 |
uvicorn.run(app, host=host, port=7860)
|