Spaces:
Sleeping
Sleeping
File size: 322 Bytes
fda8fb3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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()
|