Ali2206 commited on
Commit
7fb3265
·
verified ·
1 Parent(s): ad85a12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -181,7 +181,7 @@ def analyze(file):
181
 
182
  def create_ui(agent):
183
  with gr.Blocks(title="Patient History Chat") as demo:
184
- chatbot = gr.Chatbot(label="Clinical Assistant", show_copy_button=True)
185
  file_upload = gr.File(label="Upload Excel File", file_types=[".xlsx"])
186
  analyze_btn = gr.Button("🧠 Analyze Patient History")
187
  report_output = gr.File(label="Download Report")
 
181
 
182
  def create_ui(agent):
183
  with gr.Blocks(title="Patient History Chat") as demo:
184
+ chatbot = gr.Chatbot(label="Clinical Assistant", show_copy_button=True, type="messages")
185
  file_upload = gr.File(label="Upload Excel File", file_types=[".xlsx"])
186
  analyze_btn = gr.Button("🧠 Analyze Patient History")
187
  report_output = gr.File(label="Download Report")