yuvis's picture
Upload folder using huggingface_hub
f4c70c8 verified
raw
history blame contribute delete
344 Bytes
from fastapi import FastAPI
from src.app.api import routes
import uvicorn
app = FastAPI(title="Enterprise RAG Search API")
app.include_router(routes.router, prefix="/api/v1")
@app.get("/health")
def health():
return {"status": "ok"}
if __name__ == "__main__":
uvicorn.run("src.app.main:app", host="0.0.0.0", port=8000, reload=True)