Spaces:
Running
on
Zero
Running
on
Zero
sd
Browse files
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:
|
|
|
|
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)
|