Spaces:
Runtime error
Runtime error
jeremierostan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ client_elevenlabs = ElevenLabs(api_key=elevenlabs_api_key)
|
|
19 |
def text_to_speech_stream(text: str) -> IO[bytes]:
|
20 |
# Perform the text-to-speech conversion using ElevenLabs
|
21 |
response = client_elevenlabs.text_to_speech.convert( # Use client_elevenlabs
|
22 |
-
voice_id="
|
23 |
optimize_streaming_latency="0",
|
24 |
output_format="mp3_22050_32",
|
25 |
text=text,
|
|
|
19 |
def text_to_speech_stream(text: str) -> IO[bytes]:
|
20 |
# Perform the text-to-speech conversion using ElevenLabs
|
21 |
response = client_elevenlabs.text_to_speech.convert( # Use client_elevenlabs
|
22 |
+
voice_id="VQE7uwgOwnnTI8oKNjqz", # Digitalized voice of Malcolm X
|
23 |
optimize_streaming_latency="0",
|
24 |
output_format="mp3_22050_32",
|
25 |
text=text,
|