Open cyborgcatgirl opened 1 year ago
To fix this, you have to go folder where you have unzipped it. Go to the waifu folder then Src then utils. There you will find elevenlabs.py Open that file in your favourite IDE and change.
mp3_bytes = ELEVENLABS_VOICE.generate_audio_bytes(message, stability, similarity)
to
mp3bytes, = ELEVENLABS_VOICE.generate_audio(message, stability, similarity)
It should be in line 30 - 35. elevenlabs should now work. Let me know how you go.
Hi,
I've managed to get everything to work, except every time get a reply, there's no audio to play along with it. I get this error
'ElevenLabsClonedVoice' object has no attribute 'generate_audio_bytes'
I didn't include my key, but that seems to be correct. The example.env file is configured like this for elevenlabs.