Update app.py
Browse files
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")
|