nielsr HF staff commited on
Commit
4c2e88b
1 Parent(s): 0799604

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,10 +13,10 @@ git_processor_large = AutoProcessor.from_pretrained("microsoft/git-large-vqav2")
13
  git_model_large = AutoModelForCausalLM.from_pretrained("microsoft/git-large-vqav2")
14
 
15
  blip_processor_base = AutoProcessor.from_pretrained("Salesforce/blip-vqa-base")
16
- blip_model_base = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-vqa-base")
17
 
18
  blip_processor_large = AutoProcessor.from_pretrained("Salesforce/blip-vqa-large")
19
- blip_model_large = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-vqa-large")
20
 
21
  vilt_processor = AutoProcessor.from_pretrained("dandelin/vilt-b32-finetuned-vqa")
22
  vilt_model = ViltForQuestionAnswering.from_pretrained("dandelin/vilt-b32-finetuned-vqa")
 
13
  git_model_large = AutoModelForCausalLM.from_pretrained("microsoft/git-large-vqav2")
14
 
15
  blip_processor_base = AutoProcessor.from_pretrained("Salesforce/blip-vqa-base")
16
+ blip_model_base = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-base")
17
 
18
  blip_processor_large = AutoProcessor.from_pretrained("Salesforce/blip-vqa-large")
19
+ blip_model_large = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-large")
20
 
21
  vilt_processor = AutoProcessor.from_pretrained("dandelin/vilt-b32-finetuned-vqa")
22
  vilt_model = ViltForQuestionAnswering.from_pretrained("dandelin/vilt-b32-finetuned-vqa")