Image-Text-to-Text
Transformers
Safetensors
vision-encoder-decoder
titae commited on
Commit
43eab28
·
verified ·
1 Parent(s): 6d72623

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -66,8 +66,8 @@ Use the code below to get started with the model.
66
  from transformers import TrOCRProcessor, VisionEncoderDecoderModel
67
  from PIL import Image
68
 
69
- processor = TrOCRProcessor.from_pretrained("Sprakbanken/trocr_smi_pred_synth")
70
- model = VisionEncoderDecoderModel.from_pretrained("Sprakbanken/trocr_smi_pred_synth")
71
 
72
  image = Image.open("path_to_image.jpg").convert("RGB")
73
 
 
66
  from transformers import TrOCRProcessor, VisionEncoderDecoderModel
67
  from PIL import Image
68
 
69
+ processor = TrOCRProcessor.from_pretrained("Sprakbanken/trocr_smi_nor_pred_synth")
70
+ model = VisionEncoderDecoderModel.from_pretrained("Sprakbanken/trocr_smi_nor_pred_synth")
71
 
72
  image = Image.open("path_to_image.jpg").convert("RGB")
73