desktop-waifu icon indicating copy to clipboard operation
desktop-waifu copied to clipboard

elevenlabs no attribute

Open line117 opened this issue 1 year ago • 3 comments

'ElevenLabsDesignedVoice' object has no attribute 'generate_audio_bytes' everything is doing well,except the problem of elevenlabs

line117 avatar Oct 21 '23 09:10 line117

@AlizerUncaged please help me :)

line117 avatar Oct 21 '23 16:10 line117

go to file 'waifu/Src/utils/elevenlabs.py' and replace line mp3_bytes = ELEVENLABS_VOICE.generate_audio_bytes(message, stability, similarity) with mp3_bytes = ELEVENLABS_VOICE.generate_audio_v2(message, GenerationOptions(model_id='eleven_multilingual_v2', stability=stability, similarity_boost=similarity))[0]

zimavi avatar Nov 11 '23 08:11 zimavi

go to file 'waifu/Src/utils/elevenlabs.py' and replace line mp3_bytes = ELEVENLABS_VOICE.generate_audio_bytes(message, stability, similarity) with mp3_bytes = ELEVENLABS_VOICE.generate_audio_v2(message, GenerationOptions(model_id='eleven_multilingual_v2', stability=stability, similarity_boost=similarity))[0]

did you get the stability to actually work? I feel like the speech is very monotone independent of what stability I set (both in elevenlabs and env)

asdgggg avatar Feb 09 '24 22:02 asdgggg