Prgckwb commited on
Commit
716153a
1 Parent(s): 574f7ec
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,10 +3,10 @@ import os
3
  import gradio as gr
4
  import nltk
5
 
6
- # os.system("python -m unidic download")
7
  from melo.api import TTS # noqa: E402
8
 
9
- # nltk.download("averaged_perceptron_tagger_eng")
10
 
11
  # Get device
12
  device = "auto"
 
3
  import gradio as gr
4
  import nltk
5
 
6
+ os.system("python -m unidic download")
7
  from melo.api import TTS # noqa: E402
8
 
9
+ nltk.download("averaged_perceptron_tagger_eng")
10
 
11
  # Get device
12
  device = "auto"