Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ def process_final_report(agent, file, chatbot_state: List[Tuple[str, str]]) -> T
|
|
162 |
with open(report_path, 'w') as f:
|
163 |
f.write(f"# 🧠 Final Patient Report\n\n{cleaned}")
|
164 |
|
165 |
-
messages.append(("assistant",
|
166 |
messages.append(("assistant", f"✅ Report generated and saved: {os.path.basename(report_path)}"))
|
167 |
return messages, report_path
|
168 |
|
|
|
162 |
with open(report_path, 'w') as f:
|
163 |
f.write(f"# 🧠 Final Patient Report\n\n{cleaned}")
|
164 |
|
165 |
+
messages.append(("assistant", cleaned))
|
166 |
messages.append(("assistant", f"✅ Report generated and saved: {os.path.basename(report_path)}"))
|
167 |
return messages, report_path
|
168 |
|