Skip to content

Commit

Permalink
QoL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Epstein committed May 5, 2024
1 parent eef419b commit 3e7a40a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TTS/tts/utils/text/phonemizers/espeak_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ class ESpeak(BasePhonemizer):

def __init__(self, language: str, backend=None, punctuations=Punctuation.default_puncs(), keep_puncs=True):
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

# band-aid for backwards compatibility
Expand Down

0 comments on commit 3e7a40a

Please sign in to comment.