Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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":
|
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)
|