Spaces:
Running
Running
Liu Yiwen
commited on
Commit
·
405fabd
1
Parent(s):
60dbd41
更新了处理逻辑
Browse files
app.py
CHANGED
@@ -407,4 +407,4 @@ if __name__ == "__main__":
|
|
407 |
host = "127.0.0.1" if os.getenv("DEV") else "0.0.0.0"
|
408 |
# import subprocess
|
409 |
# subprocess.Popen(["python", "test_server.py"])
|
410 |
-
|
|
|
407 |
host = "127.0.0.1" if os.getenv("DEV") else "0.0.0.0"
|
408 |
# import subprocess
|
409 |
# subprocess.Popen(["python", "test_server.py"])
|
410 |
+
uvicorn.run(app, host=host, port=7860)
|