Update README.md
Browse files
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://
|
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')
|