15 lines
338 B
Python
15 lines
338 B
Python
from fastapi import FastAPI
|
|
|
|
from llm_qa.logging import load_logging_config
|
|
from llm_qa.routers import api_v1
|
|
|
|
app = FastAPI(title="LLM QA")
|
|
app.include_router(api_v1.router)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import uvicorn
|
|
|
|
load_logging_config()
|
|
uvicorn.run("llm_qa.web:app", host="0.0.0.0", port=8000, reload=True) # noqa: S104
|