surfiniaburger commited on
Commit
590a472
·
1 Parent(s): 35968cd
Files changed (1) hide show
  1. app.py +1 -1
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([{"file": file_path}, bot_message])
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])