hanzla commited on
Commit
465eb8a
1 Parent(s): babdbe7

Update app_v2.py

Browse files
Files changed (1) hide show
  1. app_v2.py +1 -1
app_v2.py CHANGED
@@ -51,7 +51,7 @@ def bot(history):
51
  except IOError:
52
  response = "Failed to open image. Please check the image path or file permissions."
53
  else:
54
- response = moondream.answer_question(question=last_message,tokenizer=tokenizer)
55
 
56
  history[-1][1] = ""
57
  for character in response:
 
51
  except IOError:
52
  response = "Failed to open image. Please check the image path or file permissions."
53
  else:
54
+ response = moondream.answer_question(None,question=last_message,tokenizer=tokenizer)
55
 
56
  history[-1][1] = ""
57
  for character in response: