Skip to content

How to change the default folder path for storing pretrained models #2476

Discussion options

You must be logged in to vote

You can now set the TTS_HOME or XDG_DATA_HOME environment variables with a value of your choice:

def get_user_data_dir(appname):
TTS_HOME = os.environ.get("TTS_HOME")
XDG_DATA_HOME = os.environ.get("XDG_DATA_HOME")

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@eginhard
Comment options

Answer selected by erogol
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants