clevaway / J.A.R.V.I.S

Jarvis model: A Fine-tune of llama2, works 100% offline with Ollama
https://youtu.be/qI2H6vNFbeM?si=hYR6vF7k1SHn0ZW6
MIT License
72 stars 13 forks source link

I have an error with elevenlabs. #16

Open ghost opened 1 month ago

ghost commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

FotieMConstant commented 1 month ago

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 commented 1 month ago

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

VinayakGhai commented 1 month ago

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

VinayakGhai commented 1 month ago

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

FotieMConstant commented 1 month ago

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 commented 1 month ago

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

AmanGamer commented 1 week ago

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)