Spaces:
Running
on
Zero
Running
on
Zero
suwonpabby
commited on
Commit
•
ddd4f0f
1
Parent(s):
771ccf8
Modify
Browse files
app.py
CHANGED
@@ -245,6 +245,8 @@ async def root_endpoint(request: Request):
|
|
245 |
candidates = data.get("candidates")
|
246 |
top_k = data.get("top_k")
|
247 |
character_type = data.get("character_type")
|
|
|
|
|
248 |
return StreamingResponse(gen_stream(QA, candidates, top_k, character_type), media_type="text/event-stream")
|
249 |
|
250 |
|
|
|
245 |
candidates = data.get("candidates")
|
246 |
top_k = data.get("top_k")
|
247 |
character_type = data.get("character_type")
|
248 |
+
print(QA)
|
249 |
+
print(candidates)
|
250 |
return StreamingResponse(gen_stream(QA, candidates, top_k, character_type), media_type="text/event-stream")
|
251 |
|
252 |
|