abdullahalioo commited on
Commit
f7b7ed5
·
verified ·
1 Parent(s): 509b7ad

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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")