neonbjb / tortoise-tts

A multi-voice TTS system trained with an emphasis on quality
Apache License 2.0
13.18k stars 1.82k forks source link

It give me an error #86

Closed RakibRyan closed 2 years ago

RakibRyan commented 2 years ago

(base) C:\Users\Ryan\tortoise-tts>python tortoise/do_tts.py --text "I'm going to speak this" --voice random --preset fast Traceback (most recent call last): File "C:\Users\Ryan\tortoise-tts\tortoise\do_tts.py", line 27, in tts = TextToSpeech(models_dir=args.model_dir) File "C:\Users\Ryan\tortoise-tts\tortoise\api.py", line 217, in init self.tokenizer = VoiceBpeTokenizer() File "D:\Anaconda3\lib\site-packages\tortoise-2.4.0-py3.9.egg\tortoise\utils\tokenizer.py", line 175, in init self.tokenizer = Tokenizer.from_file(vocab_file) Exception: The system cannot find the path specified. (os error 3)

jnordberg commented 2 years ago

This is fixed in version 2.4.2, pull in the latest changes from the main branch and it should work