Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -230,7 +230,8 @@ def generate_audio(voice_cloning, voice_gender, text_prompt):
|
|
230 |
# user_voice_path = '/home/user/app/images/AUDIO-2024-10-04-09-51-34.m4a'
|
231 |
# voice = clone(name = "User Cloned Voice",
|
232 |
# files = [user_voice_path] )
|
233 |
-
|
|
|
234 |
stability=0.71, similarity_boost=0.9, style=0.0, use_speaker_boost=True),)
|
235 |
|
236 |
audio = generate(text = text_prompt, voice = voice, model = "eleven_multilingual_v2",stream=True, latency=4)
|
|
|
230 |
# user_voice_path = '/home/user/app/images/AUDIO-2024-10-04-09-51-34.m4a'
|
231 |
# voice = clone(name = "User Cloned Voice",
|
232 |
# files = [user_voice_path] )
|
233 |
+
# DeZH4ash9IU9gUcNjVXh
|
234 |
+
voice = Voice(voice_id="KR6RRu8YgfxrhYocGuOc",name="Sachin",settings=VoiceSettings(
|
235 |
stability=0.71, similarity_boost=0.9, style=0.0, use_speaker_boost=True),)
|
236 |
|
237 |
audio = generate(text = text_prompt, voice = voice, model = "eleven_multilingual_v2",stream=True, latency=4)
|