Spaces:
Sleeping
Sleeping
| from __future__ import annotations | |
| import uvicorn | |
| from app.core.config import get_settings | |
| def main() -> None: | |
| settings = get_settings() | |
| uvicorn.run( | |
| "app.api.main:app", | |
| host=settings.api_host, | |
| port=settings.api_port, | |
| reload=False, | |
| ) | |
| if __name__ == "__main__": | |
| main() | |