kenken999 commited on
Commit
563f9a8
1 Parent(s): 02ebbc8
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -29,5 +29,6 @@ import os
29
 
30
  from llamafactory.webui.interface import create_ui
31
 
32
-
33
- uvicorn.run("mysite.asgi:app", host="0.0.0.0", port=7860, reload=True)
 
 
29
 
30
  from llamafactory.webui.interface import create_ui
31
 
32
+ if __name__ == "__main__":
33
+ uvicorn.run("mysite.asgi:fastapp", host="0.0.0.0", port=7860)
34
+ #uvicorn.run("mysite.asgi:app", host="0.0.0.0", port=7860, reload=True)