How can I install this repo as the default TTS? #67
|
For example I want to use this from TTS.tts.configs.xtts_config import XttsConfig
from TTS.tts.models.xtts import Xtts
from TTS.utils.generic_utils import get_user_data_dir
from TTS.utils.manage import ModelManagerwhat should my requirements.txt look like in order to install your forked version? Because I am trying to use XTTS 2 from the original repo and I get an error that it seems you already fixed it. I am talking about this one. Now I am setting up a conda env but I cant seem to install correctly your repo. I did this but I am not sure it is correct and I get this after I run my code |
Replies: 3 comments 2 replies
|
For context I run and I can see that these are installed also this is what I am getting from the original repo. (this is where I found your repo from as well) |
Alright I took a look in your code and I saw that you use the get_user_data_dir like that: from trainer.io import get_user_data_dirreplacing that import worked and resolved my issue, but now I get once again this error: I am sorry if this is getting a bit chaotic. Here is a screenshot of my |
|
Hey @Sotiris-Bekiaris ! Looks like you already figured out most things.
|

Hey @Sotiris-Bekiaris ! Looks like you already figured out most things.
from trainer.io import get_user_data_dir(there is some duplicate code in the TTS and Trainer packages that I'm cleaning up to make maintenance easier)devhead (which you're already getting with yourpip install git+...) with the fix from #46 only works fortransformers==4.42.*at the moment, so you could manually install a matchingtransformersversion.transformers>=4.43.*is available. There is a patch posted there, but I haven't had time to test and merge it yet. I'll make a new proper release after that as well.