BG5 commited on
Commit
f89b4fa
·
verified ·
1 Parent(s): fbb2542

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,5 +29,4 @@ async def proxy(full_path: str, request: Request):
29
  return response.content, response.status_code, response.headers.items()
30
 
31
  if __name__ == "__main__":
32
- # 使用 import string 形式启动应用
33
- uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)
 
29
  return response.content, response.status_code, response.headers.items()
30
 
31
  if __name__ == "__main__":
32
+ uvicorn.run(app, host="0.0.0.0", port=7860)