Tonic commited on
Commit
1a130ef
·
1 Parent(s): d12dd66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ def _launch_demo(args, model, tokenizer):
148
 
149
  if 'image' in query[0]:
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:
 
148
 
149
  if 'image' in query[0]:
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: