mirror of https://github.com/coqui-ai/TTS.git
Update espeak_wrapper.py
This commit is contained in:
parent
dbf1a08a0d
commit
6b0b7ea33c
|
@ -111,7 +111,10 @@ class ESpeak(BasePhonemizer):
|
||||||
|
|
||||||
def __init__(self, language: str, backend=None, punctuations=Punctuation.default_puncs(), keep_puncs=True):
|
def __init__(self, language: str, backend=None, punctuations=Punctuation.default_puncs(), keep_puncs=True):
|
||||||
if self._ESPEAK_LIB is None:
|
if self._ESPEAK_LIB is None:
|
||||||
raise Exception(" [!] No espeak backend found. Install espeak-ng or espeak to your system.")
|
raise Exception(
|
||||||
|
" [!] No espeak backend found. Install espeak-ng or espeak to your system. "
|
||||||
|
"See https://github.com/espeak-ng/espeak-ng/blob/master/docs/guide.md#installation"
|
||||||
|
)
|
||||||
self.backend = self._ESPEAK_LIB
|
self.backend = self._ESPEAK_LIB
|
||||||
|
|
||||||
# band-aid for backwards compatibility
|
# band-aid for backwards compatibility
|
||||||
|
|
Loading…
Reference in New Issue