Code snippet changes

#11
by pcuenq HF Staff - opened
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -83,9 +83,8 @@ messages = [
83
  {
84
  "role": "user",
85
  "content": [
86
- {"type": "text", "text": "What is in this image?"},
87
- {"type": "image", "path": "path_to_img.png"},
88
-
89
  ]
90
  },
91
  ]
 
83
  {
84
  "role": "user",
85
  "content": [
86
+ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
87
+ {"type": "text", "text": "Can you describe this image?"},
 
88
  ]
89
  },
90
  ]