Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,8 @@ from transformers import (
|
|
10 |
MarianMTModel,
|
11 |
)
|
12 |
|
|
|
|
|
13 |
#define function for text cleaning
|
14 |
def clean_text(text):
|
15 |
text = text.encode("ascii", errors="ignore").decode(
|
|
|
10 |
MarianMTModel,
|
11 |
)
|
12 |
|
13 |
+
nltk.download('punkt')
|
14 |
+
|
15 |
#define function for text cleaning
|
16 |
def clean_text(text):
|
17 |
text = text.encode("ascii", errors="ignore").decode(
|