mfarre pcuenq HF Staff commited on
Commit
db3405a
·
verified ·
1 Parent(s): 58952db

Code snippet changes (#11)

Browse files

- Code snippet changes (eec888b8a7e578f16a2ac68af3a23bba2473eff1)


Co-authored-by: Pedro Cuenca <pcuenq@users.noreply.huggingface.co>

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
  ]