Revert
Browse files
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://
|
67 |
|
68 |
conversation = [
|
69 |
{
|
70 |
"role": "user",
|
71 |
"content": [
|
72 |
{"type": "image", "url": url},
|
73 |
-
{"type": "text", "text": "
|
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 |
]
|