Tonic commited on
Commit
1ea7c93
·
1 Parent(s): afa548b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def process_input(text=None, file=None, task_history=None):
108
 
109
  if "<box>" in response and image_path:
110
  image_with_boxes_path = draw_boxes(image_path, response)
111
- return [("bot", response), "image", image_with_boxes_path], task_history
112
  else:
113
  cleaned_response = clean_response(response)
114
  return [("bot", cleaned_response)], task_history
 
108
 
109
  if "<box>" in response and image_path:
110
  image_with_boxes_path = draw_boxes(image_path, response)
111
+ return [("bot", response, (image_with_boxes_path, "Qwen Image Caption"))], task_history
112
  else:
113
  cleaned_response = clean_response(response)
114
  return [("bot", cleaned_response)], task_history