How to change the default folder path for storing pretrained models #2476
-
I am using Windows, which is important for this question. Also python 3.10, but this shouldn't be important. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Any solutions here? |
Beta Was this translation helpful? Give feedback.
-
you need to add the TTS_HOME to environment variables Open the Start Menu and search for "Environment Variables." On Linux/macOS Open a terminal and edit the shell configuration file. Depending on your shell, this might be .bashrc, .bash_profile, .zshrc, etc. For example, to edit .bashrc:
Apply the changes:
|
Beta Was this translation helpful? Give feedback.
You can now set the
TTS_HOME
orXDG_DATA_HOME
environment variables with a value of your choice:TTS/TTS/utils/generic_utils.py
Lines 129 to 131 in 747f688