mirror of https://github.com/coqui-ai/TTS.git
QoL changes
This commit is contained in:
parent
eef419b373
commit
3e7a40a141
|
@ -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