Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving does not work #365

Open
mhmtemnacr opened this issue Sep 22, 2024 · 0 comments
Open

Saving does not work #365

mhmtemnacr opened this issue Sep 22, 2024 · 0 comments

Comments

@mhmtemnacr
Copy link

I try to save the generated audio. But it's not working and I can't find an exported mp3 file. Not giving any errors either.

from elevenlabs import save
from elevenlabs.client import ElevenLabs
...
self.client = ElevenLabs(
            api_key=self.api_key,  # Defaults to ELEVEN_API_KEY
        )
audio = self.client.generate(
                    text=text,
                    voice=self.voice,
                    model="eleven_multilingual_v2"
                )
save(audio, filepath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant