Update README.md
Browse files
README.md
CHANGED
|
@@ -89,7 +89,7 @@ processor = TrOCRProcessor.from_pretrained("microsoft/trocr-base-handwritten")
|
|
| 89 |
model = VisionEncoderDecoderModel.from_pretrained("agomberto/trocr-base-printed-fr")
|
| 90 |
tokenizer = AutoTokenizer.from_pretrained("agomberto/trocr-base-printed-fr")
|
| 91 |
|
| 92 |
-
url = "https://
|
| 93 |
response = requests.get(url)
|
| 94 |
img = Image.open(BytesIO(response.content))
|
| 95 |
|
|
|
|
| 89 |
model = VisionEncoderDecoderModel.from_pretrained("agomberto/trocr-base-printed-fr")
|
| 90 |
tokenizer = AutoTokenizer.from_pretrained("agomberto/trocr-base-printed-fr")
|
| 91 |
|
| 92 |
+
url = "https://github.com/agombert/trocr-base-printed-fr/blob/main/sample_imgs/0.jpg"
|
| 93 |
response = requests.get(url)
|
| 94 |
img = Image.open(BytesIO(response.content))
|
| 95 |
|