ydshieh HF Staff commited on
Commit
a4844f9
·
verified ·
1 Parent(s): fcdb878

Update md.py

Browse files
Files changed (1) hide show
  1. md.py +1 -1
md.py CHANGED
@@ -11,7 +11,7 @@ model = Kosmos2_5ForConditionalGeneration.from_pretrained(repo, device_map=devic
11
  processor = AutoProcessor.from_pretrained(repo)
12
 
13
  # sample image
14
- url = "https://huggingface.co/ydshieh/kosmos-2.5/blob/main/receipt_00008.png"
15
  image = Image.open(requests.get(url, stream=True).raw)
16
 
17
  prompt = "<md>"
 
11
  processor = AutoProcessor.from_pretrained(repo)
12
 
13
  # sample image
14
+ url = "https://huggingface.co/ydshieh/kosmos-2.5/resolve/main/receipt_00008.png"
15
  image = Image.open(requests.get(url, stream=True).raw)
16
 
17
  prompt = "<md>"