Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def predict(_chatbot, task_history) -> list:
|
|
150 |
image = tokenizer.draw_bbox_on_latest_picture(response)
|
151 |
if image is not None:
|
152 |
image_path = save_image(image, uploaded_file_dir)
|
153 |
-
|
154 |
else:
|
155 |
_chatbot[-1] = (chat_query, "No image to display.")
|
156 |
else:
|
|
|
150 |
image = tokenizer.draw_bbox_on_latest_picture(response)
|
151 |
if image is not None:
|
152 |
image_path = save_image(image, uploaded_file_dir)
|
153 |
+
_chatbot[-1] = (chat_query, (image_path,))
|
154 |
else:
|
155 |
_chatbot[-1] = (chat_query, "No image to display.")
|
156 |
else:
|