Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,9 @@ import socket
|
|
| 37 |
# Import the locally stored Xtts default model
|
| 38 |
import import_locally_stored_tts_model_files
|
| 39 |
|
|
|
|
|
|
|
|
|
|
| 40 |
# Download UniDic if it's not already installed
|
| 41 |
#unidic.download()
|
| 42 |
|
|
|
|
| 37 |
# Import the locally stored Xtts default model
|
| 38 |
import import_locally_stored_tts_model_files
|
| 39 |
|
| 40 |
+
#make the nltk folder point to the nltk folder in the app dir
|
| 41 |
+
nltk.data.path.append('/home/user/app/nltk_data')
|
| 42 |
+
|
| 43 |
# Download UniDic if it's not already installed
|
| 44 |
#unidic.download()
|
| 45 |
|