Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ def generate_audio(voice_cloning, text_prompt):
|
|
| 119 |
if voice_cloning == 'yes':
|
| 120 |
print('Entering Custom Audio creation using elevenlabs')
|
| 121 |
set_api_key('92e149985ea2732b4359c74346c3daee')
|
| 122 |
-
voice = Voice(voice_id="
|
| 123 |
stability=0.71, similarity_boost=0.9, style=0.0, use_speaker_boost=True),)
|
| 124 |
|
| 125 |
audio = generate(text = text_prompt, voice = voice, model = "eleven_multilingual_v2",stream=True, latency=4)
|
|
|
|
| 119 |
if voice_cloning == 'yes':
|
| 120 |
print('Entering Custom Audio creation using elevenlabs')
|
| 121 |
set_api_key('92e149985ea2732b4359c74346c3daee')
|
| 122 |
+
voice = Voice(voice_id="wu4wgNArkao4Vy9SnHzL",name="alex costa cacau",settings=VoiceSettings(
|
| 123 |
stability=0.71, similarity_boost=0.9, style=0.0, use_speaker_boost=True),)
|
| 124 |
|
| 125 |
audio = generate(text = text_prompt, voice = voice, model = "eleven_multilingual_v2",stream=True, latency=4)
|