Ali2206 commited on
Commit
96695b8
·
verified ·
1 Parent(s): 7a436df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", f"📊 Final Report:\n\n{cleaned}"))
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