ydshieh HF staff commited on
Commit
36d8f77
1 Parent(s): d7bcf98

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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.jpg"
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.