Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ processor = AutoProcessor.from_pretrained("ydshieh/kosmos-2-patch14-224", trust_
|
|
26 |
|
27 |
prompt = "<grounding>An image of"
|
28 |
|
29 |
-
url = "https://huggingface.co/ydshieh/kosmos-2-patch14-224/resolve/main/snowman.
|
30 |
image = Image.open(requests.get(url, stream=True).raw)
|
31 |
|
32 |
# The original Kosmos-2 demo saves the image first then reload it. For some images, this will give slightly different image input and change the generation outputs.
|
|
|
26 |
|
27 |
prompt = "<grounding>An image of"
|
28 |
|
29 |
+
url = "https://huggingface.co/ydshieh/kosmos-2-patch14-224/resolve/main/snowman.png"
|
30 |
image = Image.open(requests.get(url, stream=True).raw)
|
31 |
|
32 |
# The original Kosmos-2 demo saves the image first then reload it. For some images, this will give slightly different image input and change the generation outputs.
|