Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
17 |
|
18 |
blip_processor_large = AutoProcessor.from_pretrained("Salesforce/blip-vqa-large")
|
19 |
-
blip_model_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")
|