Spaces:
Sleeping
Sleeping
Commit
·
590a472
1
Parent(s):
35968cd
bug fix
Browse files
app.py
CHANGED
|
@@ -214,7 +214,7 @@ def create_connected_mode_ui():
|
|
| 214 |
# Directly call the diagnosis tool for testing
|
| 215 |
diagnosis = DIAGNOSIS_TOOL(file_path)
|
| 216 |
bot_message = f"**Diagnosis:** {diagnosis}"
|
| 217 |
-
history.append([
|
| 218 |
else:
|
| 219 |
bot_message = "Please upload an image for diagnosis."
|
| 220 |
history.append([chat_input["text"], bot_message])
|
|
|
|
| 214 |
# Directly call the diagnosis tool for testing
|
| 215 |
diagnosis = DIAGNOSIS_TOOL(file_path)
|
| 216 |
bot_message = f"**Diagnosis:** {diagnosis}"
|
| 217 |
+
history.append([(file_path,), bot_message])
|
| 218 |
else:
|
| 219 |
bot_message = "Please upload an image for diagnosis."
|
| 220 |
history.append([chat_input["text"], bot_message])
|