xxx1 commited on
Commit
6ee92d0
1 Parent(s): e6d5dfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def gpt3(question,vqa_answer,caption):
49
  return answer
50
 
51
  def vle(input_image,input_text):
52
- vqa_answers = vqa_pipeline({"image":input_image, "question":input_image}, top_k=4)
53
  return vqa_answers
54
  def inference_chat(input_image,input_text):
55
  cap=caption(input_image)
 
49
  return answer
50
 
51
  def vle(input_image,input_text):
52
+ vqa_answers = vqa_pipeline({"image":input_image, "question":input_text}, top_k=4)
53
  return vqa_answers
54
  def inference_chat(input_image,input_text):
55
  cap=caption(input_image)