You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run tts-server --model_name tts_models/multilingual/multi-dataset/xtts_v2, I am getting the below error:
tts_models/multilingual/multi-dataset/xtts_v2 is already downloaded.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "<my-path>\my-env\Scripts\tts-server.exe\__main__.py", line 4, in <module>
File "<my-path>\my-env\Lib\site-packages\TTS\server\server.py", line 110, in <module>
synthesizer = Synthesizer(
^^^^^^^^^^^^
File "<my-path>\my-env\Lib\site-packages\TTS\utils\synthesizer.py", line 96, in __init__
self._load_tts(tts_checkpoint, tts_config_path, use_cuda)
File "<my-path>\my-env\Lib\site-packages\TTS\utils\synthesizer.py", line 186, in _load_tts
self.tts_config = load_config(tts_config_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<my-path>\my-env\Lib\site-packages\TTS\config\__init__.py", line 85, in load_config
ext = os.path.splitext(config_path)[1]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen ntpath>", line 258, in splitext
TypeError: expected str, bytes or os.PathLike object, not NoneType
To Reproduce
Just run tts-server --model_name tts_models/multilingual/multi-dataset/xtts_v2
Expected behavior
To start the tts-server without any errors
Logs
tts_models/multilingual/multi-dataset/xtts_v2 is already downloaded.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "<my-path>\my-env\Scripts\tts-server.exe\__main__.py", line 4, in<module>
File "<my-path>\my-env\Lib\site-packages\TTS\server\server.py", line 110, in<module>
synthesizer = Synthesizer(
^^^^^^^^^^^^
File "<my-path>\my-env\Lib\site-packages\TTS\utils\synthesizer.py", line 96, in __init__
self._load_tts(tts_checkpoint, tts_config_path, use_cuda)
File "<my-path>\my-env\Lib\site-packages\TTS\utils\synthesizer.py", line 186, in _load_tts
self.tts_config = load_config(tts_config_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<my-path>\my-env\Lib\site-packages\TTS\config\__init__.py", line 85, in load_config
ext = os.path.splitext(config_path)[1]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen ntpath>", line 258, in splitext
TypeError: expected str, bytes or os.PathLike object, not NoneType
Yes, the server currently only supports a limited number of models. I'd merge a PR adding support for XTTS. Some previous discussion and workarounds are here: coqui-ai#3140
Describe the bug
When I run
tts-server --model_name tts_models/multilingual/multi-dataset/xtts_v2
, I am getting the below error:To Reproduce
Just run
tts-server --model_name tts_models/multilingual/multi-dataset/xtts_v2
Expected behavior
To start the tts-server without any errors
Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: