initial commit
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ import torch
|
|
| 6 |
|
| 7 |
processor = AutoProcessor.from_pretrained("microsoft/git-base-vqav2")
|
| 8 |
model = AutoModelForCausalLM.from_pretrained("microsoft/git-base-vqav2")
|
|
|
|
| 9 |
dataset_name = "Multimodal-Fatima/OK-VQA_train"
|
| 10 |
|
| 11 |
questions = ["What can happen the objects shown are thrown on the ground?",
|
|
|
|
| 6 |
|
| 7 |
processor = AutoProcessor.from_pretrained("microsoft/git-base-vqav2")
|
| 8 |
model = AutoModelForCausalLM.from_pretrained("microsoft/git-base-vqav2")
|
| 9 |
+
model_path = "microsoft/git-base-vqav2"
|
| 10 |
dataset_name = "Multimodal-Fatima/OK-VQA_train"
|
| 11 |
|
| 12 |
questions = ["What can happen the objects shown are thrown on the ground?",
|