Update app.py
Browse files
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"]
|