Upload README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ The model is trained to recognize printed texts in Old Russian language
|
|
13 |
from PIL import Image
|
14 |
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
|
15 |
|
16 |
-
hf_model = VisionEncoderDecoderModel.from_pretrained("Serovvans/trocr-
|
17 |
|
18 |
image = Image.open("./path/to/your/image")
|
19 |
|
|
|
13 |
from PIL import Image
|
14 |
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
|
15 |
|
16 |
+
hf_model = VisionEncoderDecoderModel.from_pretrained("Serovvans/trocr-prereform-orthography")
|
17 |
|
18 |
image = Image.open("./path/to/your/image")
|
19 |
|