yhshin commited on
Commit
cf700ce
β€’
1 Parent(s): 6884da0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
5
 
6
  url = 'https://huggingface.co/yhshin/latex-ocr/raw/main/tokenizer-wordlevel.json'
7
  r = requests.get(url)
8
- open('tokenizer-wordlevel.json' , 'w').write(r.content)
9
 
10
 
11
  processor = TrOCRProcessor.from_pretrained("microsoft/trocr-small-printed")
 
5
 
6
  url = 'https://huggingface.co/yhshin/latex-ocr/raw/main/tokenizer-wordlevel.json'
7
  r = requests.get(url)
8
+ open('tokenizer-wordlevel.json' , 'wb').write(r.content)
9
 
10
 
11
  processor = TrOCRProcessor.from_pretrained("microsoft/trocr-small-printed")