aarbelle commited on
Commit
377b16e
·
verified ·
1 Parent(s): 37c2e13
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -63,14 +63,14 @@ processor = AutoProcessor.from_pretrained(model_path)
63
  model = AutoModelForVision2Seq.from_pretrained(model_path).to(device)
64
 
65
  # prepare image and text prompt, using the appropriate prompt template
66
- url = "https://huggingface.co/ibm-granite/granite-vision-3.1-2b-preview/blob/main/example.png"
67
 
68
  conversation = [
69
  {
70
  "role": "user",
71
  "content": [
72
  {"type": "image", "url": url},
73
- {"type": "text", "text": "Which is the highest scoring model on ChartQA and what is the score?"},
74
  ],
75
  },
76
  ]
 
63
  model = AutoModelForVision2Seq.from_pretrained(model_path).to(device)
64
 
65
  # prepare image and text prompt, using the appropriate prompt template
66
+ url = "https://github.com/haotian-liu/LLaVA/blob/1a91fc274d7c35a9b50b3cb29c4247ae5837ce39/images/llava_v1_5_radar.jpg?raw=true"
67
 
68
  conversation = [
69
  {
70
  "role": "user",
71
  "content": [
72
  {"type": "image", "url": url},
73
+ {"type": "text", "text": "What is shown in this image?"},
74
  ],
75
  },
76
  ]