Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -74,4 +74,4 @@ async def generate_response_chunks(prompt: str):
|
|
74 |
# ✅ API route
|
75 |
@app.post("/ask")
|
76 |
async def ask(question: Question):
|
77 |
-
return StreamingResponse(generate_response_chunks(question.question), media_type="text/plain"
|
|
|
74 |
# ✅ API route
|
75 |
@app.post("/ask")
|
76 |
async def ask(question: Question):
|
77 |
+
return StreamingResponse(generate_response_chunks(question.question), media_type="text/plain")
|