[windows fix]for my windows brothers who have that espeak not found when running the inference demo, install espeak-ng then
ezra-ch opened this issue · 1 comments
ezra-ch commented
For my windows brethren who have that espeak not found error when running the inference code, install espeak-ng then just add the following.
from phonemizer.backend.espeak.wrapper import EspeakWrapper
EspeakWrapper.set_library('C:\Program Files\eSpeak NG\libespeak-ng.dll')
# load phonemizer
import phonemizer
global_phonemizer = phonemizer.backend.EspeakBackend(language='en-us', preserve_punctuation=True, with_stress=True)```
mmmaat commented
Hi, thanks, this is what I recently added in the documentation