Skip to content

Commit

Permalink
Merge pull request #3278 from vladmandic/dev
Browse files Browse the repository at this point in the history
master refresh
  • Loading branch information
vladmandic authored Jun 23, 2024
2 parents d073c48 + 50de0c1 commit cc9b7c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/vqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ def interrogate(vqa_question, vqa_image, vqa_model_req):
return answer
if 'git' in vqa_model.lower():
answer = git(vqa_question, vqa_image, vqa_model)
if 'vilt' in vqa_model.lower():
elif 'vilt' in vqa_model.lower():
answer = vilt(vqa_question, vqa_image, vqa_model)
if 'blip' in vqa_model.lower():
elif 'blip' in vqa_model.lower():
answer = blip(vqa_question, vqa_image, vqa_model)
if 'pix' in vqa_model.lower():
elif 'pix' in vqa_model.lower():
answer = pix(vqa_question, vqa_image, vqa_model)
if 'moondream2' in vqa_model.lower():
elif 'moondream2' in vqa_model.lower():
answer = moondream(vqa_question, vqa_image, vqa_model)
if 'florence' in vqa_model.lower():
elif 'florence' in vqa_model.lower():
answer = florence(vqa_question, vqa_image, vqa_model)
else:
answer = 'unknown model'
Expand Down

0 comments on commit cc9b7c3

Please sign in to comment.