Code snippet changes
Browse files- Make the image snippet runnable
- Place image first (as I saw in the PR examples)
README.md
CHANGED
|
@@ -83,9 +83,8 @@ messages = [
|
|
| 83 |
{
|
| 84 |
"role": "user",
|
| 85 |
"content": [
|
| 86 |
-
{"type": "
|
| 87 |
-
{"type": "
|
| 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 |
]
|