mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
Merge pull request #169 from Torantulino/FixesBrokenSaytext
Fixes:TypeError: eleven_labs_speech() missing 1 required positional argument: 'text'
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user