Spaces:
Paused
Paused
Update app.py
Browse files
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
|
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
|