Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,7 @@ from transformers import MarianMTModel, MarianTokenizer
|
|
16 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
17 |
|
18 |
nltk.download('punkt')
|
|
|
19 |
|
20 |
OCR_TR_DESCRIPTION = '''# OCR Translate v0.2
|
21 |
<div id="content_align">OCR translation system based on Tesseract</div>'''
|
|
|
16 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
17 |
|
18 |
nltk.download('punkt')
|
19 |
+
nltk.download('punkt_tab')
|
20 |
|
21 |
OCR_TR_DESCRIPTION = '''# OCR Translate v0.2
|
22 |
<div id="content_align">OCR translation system based on Tesseract</div>'''
|