vlaurent17 commited on
Commit
e81b0a3
·
verified ·
1 Parent(s): 7e7bd4a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -80,7 +80,7 @@ from PIL import Image
80
  import requests
81
 
82
  # load image from the IAM database (actually this model is meant to be used on printed text)
83
- url = 'https://fki.tic.heia-fr.ch/static/img/a01-122-02-00.jpg'
84
  image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
85
 
86
  processor = TrOCRProcessor.from_pretrained('qantev/trocr-small-spanish')
 
80
  import requests
81
 
82
  # load image from the IAM database (actually this model is meant to be used on printed text)
83
+ url = 'https://huggingface.co/qantev/trocr-small-spanish/resolve/main/example_1.png'
84
  image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
85
 
86
  processor = TrOCRProcessor.from_pretrained('qantev/trocr-small-spanish')