Spaces:
Paused
Paused
fastapi app
Browse files
main.py
CHANGED
|
@@ -69,6 +69,7 @@ async def health():
|
|
| 69 |
return {"status": "ok", "rag_ready": rag is not None, "llm_ready": llm is not None}
|
| 70 |
|
| 71 |
|
|
|
|
| 72 |
@app.post("/chat", response_model=ChatResponse)
|
| 73 |
async def chat(req: ChatRequest):
|
| 74 |
if rag is None or llm is None:
|
|
|
|
| 69 |
return {"status": "ok", "rag_ready": rag is not None, "llm_ready": llm is not None}
|
| 70 |
|
| 71 |
|
| 72 |
+
|
| 73 |
@app.post("/chat", response_model=ChatResponse)
|
| 74 |
async def chat(req: ChatRequest):
|
| 75 |
if rag is None or llm is None:
|