Spaces:
Runtime error
Runtime error
ngxquang
commited on
Commit
•
f8c47d0
1
Parent(s):
2e5d83b
fix: uncomment 'main'
Browse files- src/main.py +3 -3
src/main.py
CHANGED
@@ -56,7 +56,7 @@ app.include_router(router)
|
|
56 |
|
57 |
|
58 |
# Start API
|
59 |
-
|
60 |
-
|
61 |
|
62 |
-
|
|
|
56 |
|
57 |
|
58 |
# Start API
|
59 |
+
if __name__ == "__main__":
|
60 |
+
import uvicorn
|
61 |
|
62 |
+
uvicorn.run("main:app", host=settings.HOST, port=settings.PORT, reload=True)
|