Pijush2023 commited on
Commit
6ce2755
·
verified ·
1 Parent(s): ca6c4b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -294,10 +294,10 @@ def generate_audio_elevenlabs(text):
294
  "text": str(text),
295
  "model_id": "eleven_multilingual_v2",
296
  "voice_settings": {
297
- "stability": 0.5,
298
- "similarity_boost": 0.8,
299
- "style": 0.75, # Adjust style for more romantic tone
300
- "use_speaker_boost": True
301
  }
302
  }
303
  response = requests.post(tts_url, headers=headers, json=data, stream=True)
 
294
  "text": str(text),
295
  "model_id": "eleven_multilingual_v2",
296
  "voice_settings": {
297
+ "stability": 0.7,
298
+ "similarity_boost": 0.5,
299
+ "style": 0.50, # Adjust style for more romantic tone
300
+ "use_speaker_boost": False
301
  }
302
  }
303
  response = requests.post(tts_url, headers=headers, json=data, stream=True)