syedfaisalabrar commited on
Commit
07a53e4
·
verified ·
1 Parent(s): 1291d1b

Update backPrompt.py

Browse files
Files changed (1) hide show
  1. backPrompt.py +1 -1
backPrompt.py CHANGED
@@ -27,7 +27,7 @@ def load_image(image_file):
27
 
28
 
29
  def main(image_path,model,tokenizer):
30
- path = "OpenGVLab/InternVL2_5-4B"
31
  pixel_values = load_image(image_path).to(torch.float32).to("cpu")
32
  generation_config = dict(max_new_tokens=1024, do_sample=True)
33
 
 
27
 
28
 
29
  def main(image_path,model,tokenizer):
30
+
31
  pixel_values = load_image(image_path).to(torch.float32).to("cpu")
32
  generation_config = dict(max_new_tokens=1024, do_sample=True)
33