liutao 3 weeks ago
parent
commit
017aba1a37
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jiaxing/landsite_agent_jx/main.py

+ 2 - 2
jiaxing/landsite_agent_jx/main.py

@@ -86,5 +86,5 @@ async def stream_land_analysis(request: QueryRequest):
 
 
 if __name__ == "__main__":
-    uvicorn.run(app, host=server_host, port=server_port)
-    # uvicorn.run("main:app", host=server_host, port=server_port, workers=5)
+    # uvicorn.run(app, host=server_host, port=server_port)
+    uvicorn.run("main:app", host=server_host, port=server_port, workers=5)