mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-05 23:32:49 +08:00
添加uv管理项目
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# run.py
|
||||
import uvicorn
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 启动服务
|
||||
uvicorn.run(
|
||||
app="app.main:app",
|
||||
host="0.0.0.0",
|
||||
port=8000,
|
||||
# reload=True,
|
||||
workers=1
|
||||
)
|
||||
Reference in New Issue
Block a user