Tonic commited on
Commit
5d056e6
·
1 Parent(s): 25aa84d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- _chatbot[-1] = (chat_query, (image_path,))
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: