Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -242,8 +242,9 @@ def generate_audio(voice_cloning, voice_gender, text_prompt):
|
|
242 |
# user_voice_path = '/home/user/app/images/AUDIO-2024-10-04-09-51-34.m4a'
|
243 |
# voice = clone(name = "User Cloned Voice",
|
244 |
# files = [user_voice_path] )
|
245 |
-
# DeZH4ash9IU9gUcNjVXh
|
246 |
-
|
|
|
247 |
stability=0.71, similarity_boost=0.9, style=0.0, use_speaker_boost=True),)
|
248 |
|
249 |
audio = generate(text = text_prompt, voice = voice, model = "eleven_multilingual_v2",stream=True, latency=4)
|
|
|
242 |
# user_voice_path = '/home/user/app/images/AUDIO-2024-10-04-09-51-34.m4a'
|
243 |
# voice = clone(name = "User Cloned Voice",
|
244 |
# files = [user_voice_path] )
|
245 |
+
# DeZH4ash9IU9gUcNjVXh marc
|
246 |
+
# KR6RRu8YgfxrhYocGuOc sachin
|
247 |
+
voice = Voice(voice_id="DeZH4ash9IU9gUcNjVXh",name="Marc",settings=VoiceSettings(
|
248 |
stability=0.71, similarity_boost=0.9, style=0.0, use_speaker_boost=True),)
|
249 |
|
250 |
audio = generate(text = text_prompt, voice = voice, model = "eleven_multilingual_v2",stream=True, latency=4)
|