chinhon commited on
Commit
e631c98
1 Parent(s): b62a248

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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(