Update app.py
Browse files
app.py
CHANGED
|
@@ -158,7 +158,7 @@ def stream_final_report(agent, file) -> Generator[List[Dict[str, str]], None, No
|
|
| 158 |
chunk_responses.append(clean_response(response))
|
| 159 |
|
| 160 |
final_prompt = "\n\n".join(chunk_responses) + "\n\nSummarize the key findings above."
|
| 161 |
-
yield [{"role": "user", "content": f"[Excel Uploaded: {file.name}]"}]
|
| 162 |
stream_text = ""
|
| 163 |
for result in agent.run_gradio_chat(
|
| 164 |
message=final_prompt,
|
|
|
|
| 158 |
chunk_responses.append(clean_response(response))
|
| 159 |
|
| 160 |
final_prompt = "\n\n".join(chunk_responses) + "\n\nSummarize the key findings above."
|
| 161 |
+
yield [{"role": "user", "content": f"[Excel Uploaded: {file.name}]"}]
|
| 162 |
stream_text = ""
|
| 163 |
for result in agent.run_gradio_chat(
|
| 164 |
message=final_prompt,
|