aus10powell commited on
Commit
16dcd56
1 Parent(s): b6c5c80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -35,6 +35,9 @@ import scripts.utils as utils
35
  from scripts import translation
36
  from scripts import generative
37
  import nltk
 
 
 
38
 
39
  logging.basicConfig(level=logging.INFO)
40
  pd.set_option('display.max_colwidth', 20)
 
35
  from scripts import translation
36
  from scripts import generative
37
  import nltk
38
+ nltk.download('punkt')
39
+ punkt_download_location = nltk.data.path[0]
40
+ logging.info(f"punkt_download_location: {punkt_download_location}")
41
 
42
  logging.basicConfig(level=logging.INFO)
43
  pd.set_option('display.max_colwidth', 20)