Fixe incorrect Docstring

This commit is contained in:
Toran Bruce Richards
2023-04-10 12:07:16 +01:00
committed by GitHub
parent 4ca12e216d
commit 1f0209bba7

View File

@@ -15,7 +15,7 @@ tts_headers = {
}
def eleven_labs_speech(text, voice_index=0):
"""Return the results of a google search"""
"""Speak text using elevenlabs.io's API"""
tts_url = "https://api.elevenlabs.io/v1/text-to-speech/{voice_id}".format(
voice_id=voices[voice_index])
formatted_message = {"text": text}