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

I have an error with elevenlabs. #16

Open
ghost opened this issue Jul 18, 2024 · 9 comments
Open

I have an error with elevenlabs. #16

ghost opened this issue Jul 18, 2024 · 9 comments

Comments

@ghost
Copy link

ghost commented Jul 18, 2024

PS C:\Users...\J.A.R.V.I.S-main\J.A.R.V.I.S-main> python main.py
Traceback (most recent call last):
File "C:\Users...\J.A.R.V.I.S-main\J.A.R.V.I.S-main\main.py", line 8, in
from modules.Interlocus import Interlocus
File "C:\Users...\J.A.R.V.I.S-main\J.A.R.V.I.S-main\modules\Interlocus.py", line 5, in
from elevenlabs import generate, play
ImportError: cannot import name 'generate' from 'elevenlabs' (C:\Users...\elevenlabs_init_.py)

@FotieMConstant
Copy link
Member

yeah, sorry about that, you have to create an elevenlabs account and link you api key accordingly. with the voice as well

ps: we plan to eliminate that in the future and have a full offline tts.

@ghost
Copy link
Author

ghost commented Jul 18, 2024

I took an api key but it didn't work aswell

@FotieMConstant
Copy link
Member

I took an api key but it didn't work aswell

yeah, you need a voice id. also could you please share the error you get here? thanks

@FotieMConstant
Copy link
Member

these are things i ought to have added in the .env file to make things easier, just keep forgetting. apologies for the inconvenience

@VinayakGhai
Copy link

nah man it's still not working, can you please make a detailed tutorial description on it?

@VinayakGhai
Copy link

like in a way that how would you set it up on your pc..

@FotieMConstant
Copy link
Member

FotieMConstant commented Jul 21, 2024

nah man it's still not working, can you please make a detailed tutorial description on it?

you should check the code and add the voice id from elevenlabs, use any for now

ps: also should have added that to the .env

@FotieMConstant
Copy link
Member

this PR should fix the issue, check the .env.example file in root

@AmanGamer
Copy link

Traceback (most recent call last):
File "c:\Users..\JARVIS\main.py", line 8, in
from modules.Interlocus import Interlocus
File "c:\Users..\JARVIS\modules\Interlocus.py", line 5, in
from elevenlabs import generate
ImportError: cannot import name 'generate' from 'elevenlabs' (C:\Users..\elevenlabs_init_.py)

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

3 participants