Skip to content

Commit

Permalink
Merge pull request Significant-Gravitas#169 from Torantulino/FixesBro…
Browse files Browse the repository at this point in the history
…kenSaytext

Fixes:TypeError: eleven_labs_speech() missing 1 required positional argument: 'text'
  • Loading branch information
Torantulino authored Apr 4, 2023
2 parents ae60025 + e1d3cc9 commit 62dfd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/speak.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 62dfd84

Please sign in to comment.