Skip to content

Commit

Permalink
Adds voice index back in.
Browse files Browse the repository at this point in the history
Agents now have a different voice again.
  • Loading branch information
Torantulino committed Apr 6, 2023
1 parent 415bdaa commit a55a64c
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(text)
success = eleven_labs_speech(text, voice_index)
if not success:
gtts_speech(text)

0 comments on commit a55a64c

Please sign in to comment.