From 3e7a40a141e75e0591169a1545a7a389faae9502 Mon Sep 17 00:00:00 2001 From: Ben Epstein Date: Sun, 5 May 2024 19:06:52 -0400 Subject: [PATCH] QoL changes --- TTS/tts/utils/text/phonemizers/espeak_wrapper.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TTS/tts/utils/text/phonemizers/espeak_wrapper.py b/TTS/tts/utils/text/phonemizers/espeak_wrapper.py index 328e52f369..ecd336672a 100644 --- a/TTS/tts/utils/text/phonemizers/espeak_wrapper.py +++ b/TTS/tts/utils/text/phonemizers/espeak_wrapper.py @@ -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