tortoise-tts icon indicating copy to clipboard operation
tortoise-tts copied to clipboard

Runtime Error! Help please!

Open mrSuave00 opened this issue 1 year ago • 1 comments

Hello! I am pretty much noob at the topic, but i followed everything the github asked me of and the script doesn't execute as it should.

I found the folder where the voices are, i generated sound clips and the results are meh. I only used the doc version before and that sorta worked with minor errors but it has frequent crashes so i thought i'd do it locally.

However! I can never generate a single sound locally because when i input the example line of: python tortoise/do_tts.py --text "I'm going to speak this" --voice random --preset fast

it just returns:

File "C:\Users\Admin\anaconda3\lib\site-packages\torchaudio\_internal\module_utils.py", line 73, in wrapped
    raise RuntimeError(f"{func.__module__}.{func.__name__} {message}")
RuntimeError: torchaudio.backend.soundfile_backend.save requires soundfile, but we failed to import it. Please check the installation of soundfile.

I am running anaconda, if that's any help. I downloaded Tortoise using the method on the huggingface instructions:

git clone https://github.com/neonbjb/tortoise-tts.git
cd tortoise-tts
python setup.py install

any help is appreciated!

mrSuave00 avatar Apr 21 '23 10:04 mrSuave00

#422 Here..

CodexOmega avatar Apr 29 '23 10:04 CodexOmega