Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ async def chat(query,history,sources,reports,subtype, client_ip=None, session_id
|
|
236 |
answer_yet += token
|
237 |
parsed_answer = parse_output_llm_with_sources(answer_yet)
|
238 |
history[-1] = (query, parsed_answer)
|
239 |
-
yield [tuple(x) for x in history], docs_html
|
240 |
|
241 |
# Stream the response updates
|
242 |
async for update in process_stream():
|
|
|
236 |
answer_yet += token
|
237 |
parsed_answer = parse_output_llm_with_sources(answer_yet)
|
238 |
history[-1] = (query, parsed_answer)
|
239 |
+
yield [tuple(x) for x in history], docs_html, logs_data, session_id
|
240 |
|
241 |
# Stream the response updates
|
242 |
async for update in process_stream():
|