Closed sato-kazuma-kun closed 8 months ago
So, I just found the code that works-
Just replace the line that was specified with this mp3_bytes = ELEVENLABS_VOICE.generate_audio_v2(message, GenerationOptions(model_id='eleven_multilingual_v1', stability=stability, similarity_boost=similarity))[0]
And it should work fine, atleast it works for me.
I'm no expert in this matter but I think something might be wrong with the
generate_audio_bytes
function in file-/waifu/Src/utils/elevenlabs.py
line no. 32- ->mp3_bytes = ELEVENLABS_VOICE.generate_audio_bytes(message, stability, similarity)
This is the error I get everytime after reply message or the reply from AI-![Screenshot 2023-10-24 145542](https://github.com/AlizerUncaged/desktop-waifu/assets/145659895/a6a9aa66-4ded-4e74-ad0f-2629eca6a1ff)
'ElevenLabsVoice' object has no attribute 'generate_audio_bytes'
.☝️ Here is an image for referance, everything works except there is no audio reply in the reply,