liumaolin
commited on
Commit
·
15e98c9
1
Parent(s):
f782fe5
Update `main.py`: modify `uvicorn.run` to use updated `voice_dialogue.api.app` module path.
Browse files
main.py
CHANGED
|
@@ -298,7 +298,7 @@ def launch_api_server(host: str = "0.0.0.0", port: int = 8000, reload: bool = Fa
|
|
| 298 |
|
| 299 |
# 导入并启动FastAPI应用
|
| 300 |
uvicorn.run(
|
| 301 |
-
"api.app:app",
|
| 302 |
host=host,
|
| 303 |
port=port,
|
| 304 |
reload=reload,
|
|
|
|
| 298 |
|
| 299 |
# 导入并启动FastAPI应用
|
| 300 |
uvicorn.run(
|
| 301 |
+
"voice_dialogue.api.app:app",
|
| 302 |
host=host,
|
| 303 |
port=port,
|
| 304 |
reload=reload,
|