rhasspy / larynx

End to end text to speech system using gruut and onnx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'denoiser_strength' referenced before assignment [waveglow]

alt131 opened this issue · comments

cat << EOF |
leçon|leçon
garçon|garçon
EOF
/usr/local/bin/larynx --csv --glow-tts /mnt/d/99/voices/fr-fr/siwis-glow_tts --waveglow /mnt/d/99/voices/waveglow/wn_256 --output-dir /mnt/d/99/fr_sw/ --language fr-fr --denoiser-strength 0.001
Traceback (most recent call last):
File "/usr/local/bin/larynx", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/larynx/main.py", line 185, in main
for text_idx, (text, audio) in enumerate(text_and_audios):
File "/usr/local/lib/python3.7/dist-packages/larynx/init.py", line 146, in text_to_speech
audio = future.result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 435, in result
return self.__get_result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/dist-packages/larynx/init.py", line 185, in _sentence_task
audio = vocoder_model.mels_to_audio(mels, settings=vocoder_settings)
File "/usr/local/lib/python3.7/dist-packages/larynx/waveglow.py", line 59, in mels_to_audio
if denoiser_strength > 0:
UnboundLocalError: local variable 'denoiser_strength' referenced before assignment

Should be fixed now