From 063d5786798908f136fa0c5b00c87282566a2bc4 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:45:55 +0100 Subject: [PATCH] Update ovos_audio/service.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- ovos_audio/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_audio/service.py b/ovos_audio/service.py index 3a20891..52a725c 100644 --- a/ovos_audio/service.py +++ b/ovos_audio/service.py @@ -71,7 +71,7 @@ def __init__(self, ready_hook=on_ready, error_hook=on_error, self.config = Configuration() self.native_sources = self.config["Audio"].get("native_sources", ["debug_cli", "audio"]) - self.tts: TTS = tts + self.tts: Optional[TTS] = tts self._tts_hash = None self.lock = Lock() self.disable_reload = tts is not None