From e1d3cc94921efab79db2608e3ff62aae39493228 Mon Sep 17 00:00:00 2001 From: Toran Bruce Richards Date: Tue, 4 Apr 2023 13:09:33 +0100 Subject: [PATCH] Fixes: TypeError: eleven_labs_speech() missing 1 required positional argument: 'text' --- scripts/speak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/speak.py b/scripts/speak.py index 6fef41f83e..f6242a37dd 100644 --- a/scripts/speak.py +++ b/scripts/speak.py @@ -42,7 +42,7 @@ def say_text(text, voice_index=0): if not cfg.elevenlabs_api_key: gtts_speech(text) else: - success = eleven_labs_speech() + success = eleven_labs_speech(text) if not success: gtts_speech(text)