mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Add documentation
This commit is contained in:
@@ -12,6 +12,7 @@ tts_headers = {
|
||||
|
||||
|
||||
def say_text(text, voice_index=0):
|
||||
"""Say text using ElevenLabs API"""
|
||||
tts_url = "https://api.elevenlabs.io/v1/text-to-speech/{voice_id}".format(
|
||||
voice_id=voices[voice_index])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user