Adds voice index back in.

Agents now have a different voice again.
pull/294/head
Toran Bruce Richards 2023-04-06 08:46:57 +01:00
parent 415bdaad59
commit a55a64c1c9
1 changed files with 1 additions and 1 deletions

View File

@ -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)