VanguardAI commited on
Commit
1bad456
·
verified ·
1 Parent(s): 4f446f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ def handle_input(user_prompt, image=None, audio=None, websearch=False, document=
180
  print("3")
181
  messages = [{"role": "user", "content": user_prompt}]
182
  print("4")
183
- response = vqa_model.chat(image=image, msgs=messages, tokenizer=tokenizer, context=None, temperature=0.5)
184
  print("5")
185
  return response, None
186
  else:
 
180
  print("3")
181
  messages = [{"role": "user", "content": user_prompt}]
182
  print("4")
183
+ response,ctxt = vqa_model.chat(image=image, msgs=messages, tokenizer=tokenizer, context=None, temperature=0.5)
184
  print("5")
185
  return response, None
186
  else: