Ailyth commited on
Commit
4e0d5f4
Β·
verified Β·
1 Parent(s): 17aa36e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -29,6 +29,8 @@ logging.getLogger("torchaudio._extension").setLevel(logging.ERROR)
29
  logging.getLogger("multipart").setLevel(logging.WARNING)
30
  from download import *
31
  download()
 
 
32
 
33
  if "_CUDA_VISIBLE_DEVICES" in os.environ:
34
  os.environ["CUDA_VISIBLE_DEVICES"] = os.environ["_CUDA_VISIBLE_DEVICES"]
 
29
  logging.getLogger("multipart").setLevel(logging.WARNING)
30
  from download import *
31
  download()
32
+ import nltk
33
+ nltk.download('averaged_perceptron_tagger_eng')
34
 
35
  if "_CUDA_VISIBLE_DEVICES" in os.environ:
36
  os.environ["CUDA_VISIBLE_DEVICES"] = os.environ["_CUDA_VISIBLE_DEVICES"]