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