Skip to content

How do I run server.py with xtts_v2 model? #3369

Closed Answered by MooTheCow
MooTheCow asked this question in General Q&A
Discussion options

You must be logged in to vote

I've managed to get the tts-server working with xtts_v2 model, and also use speaker.wav so you can clone a voice.

Command to use to point to your xtts_v2 model-

python server.py --use_cuda true --model_path C:\Users\bob\AppData\Local\tts\tts_models--multilingual--multi-dataset--xtts_v2 --config_path C:\Users\bob\AppData\Local\tts\tts_models--multilingual--multi-dataset--xtts_v2\config.json

Note that, weirdly, the model_path does not include the actual model file, but the config path includes the config file. I think this is the error that this bug refers to: it needs the config file to be directly referenced.

But there were some more changes I made to get things working.
Fix "AssertionErr…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@krougeau
Comment options

@unoexperto
Comment options

@krougeau
Comment options

Answer selected by MooTheCow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants