讗专讙讜谉 诪讞讚砖 砖诇 讛住驻专讬讛: 诪讞讬拽转 CreationDate, 讗专讙讜谉 诇驻讬 0_preprocessing, 1_frontend, 2_backend_llm
9a7cb3e | """Entrypoint to run the FastAPI application. | |
| This module is a tiny wrapper around uvicorn to run the `app.api:app` ASGI | |
| application on port 8000. Use `python run.py` in development or let the | |
| container CMD call this file in production. | |
| """ | |
| from __future__ import annotations | |
| import uvicorn # type: ignore | |
| def main() -> None: | |
| uvicorn.run("app.api:app", host="0.0.0.0", port=8000, reload=False) | |
| if __name__ == "__main__": | |
| main() | |