panda47 commited on
Commit
c8f675f
Β·
1 Parent(s): 2dc4350

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model = AutoModelForCausalLM.from_pretrained("microsoft/git-base-vqav2")
10
 
11
  dataset = load_dataset("question","answers","image")
12
 
13
- file_path = hf_hub_download(repo_id="Multimodal-Fatima/OK-VQA_train", repo_type="dataset")
14
  image = Image.open(file_path).convert("RGB")
15
 
16
  pixel_values = processor(images=image, return_tensors="pt").pixel_values
 
10
 
11
  dataset = load_dataset("question","answers","image")
12
 
13
+ file_path = hf_hub_download(repo_id="Multimodal-Fatima/OK-VQA_train", repo_type=dataset)
14
  image = Image.open(file_path).convert("RGB")
15
 
16
  pixel_values = processor(images=image, return_tensors="pt").pixel_values