riikkamarttila commited on
Commit
5656000
·
verified ·
1 Parent(s): 36a61ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -58,7 +58,7 @@ from transformers import TrOCRProcessor, VisionEncoderDecoderModel
58
  from PIL import Image
59
 
60
  # Load the model and processor
61
- processor = TrOCRProcessor.from_pretrained("Kansallisarkisto/multicentury-htr-model")
62
  model = VisionEncoderDecoderModel.from_pretrained("Kansallisarkisto/multicentury-htr-model")
63
 
64
  # Open an image of handwritten text
 
58
  from PIL import Image
59
 
60
  # Load the model and processor
61
+ processor = TrOCRProcessor.from_pretrained("Kansallisarkisto/multicentury-htr-model/processor")
62
  model = VisionEncoderDecoderModel.from_pretrained("Kansallisarkisto/multicentury-htr-model")
63
 
64
  # Open an image of handwritten text