Spanicin commited on
Commit
274466a
·
verified ·
1 Parent(s): f4f3159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- voice = Voice(voice_id="KR6RRu8YgfxrhYocGuOc",name="Sachin",settings=VoiceSettings(
 
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)