AlizerUncaged / desktop-waifu

Desktop Waifu!
337 stars 48 forks source link

Error: You exceeded your current quota, please check your plan and billing details. #47

Open saekq opened 1 year ago

saekq commented 1 year ago

I using ElevenLabs and even watched a whole tutorial how to set this up but it says "elevenlabs" 1imageeee image

MepleYui commented 1 year ago

i think this is from openai not from elevenlabs

saekq commented 1 year ago

why should I pay for gpt?

MepleYui commented 1 year ago

its written here: https://help.openai.com/en/articles/6891831-error-code-429-you-exceeded-your-current-quota-please-check-your-plan-and-billing-details

I have the same problem as well but i just made some adjustment into the code so i can use whisper locally in my machine since it can handle it.

saekq commented 1 year ago

can you help me somehow what to do?

MepleYui commented 1 year ago

Make sure that you have whisper installed try to find a tutorial in youtube and also make sure that whisper is installed in the waifu environment as well. After installing whisper just edit transcriber.py and replace

transcript = openai.Audio.transcribe("whisper-1", audio)

with: model = whisper.load_model("small") transcript = model.transcribe(filename) message = transcript["text"]

owh and make sure to import whisper as well maybe u might forget it.

Just change the model depends on the machine you have. More info here ig: https://github.com/openai/whisper

and that should work thats basically what i did for mine.

P4bl0M commented 1 year ago

I don't know if I'm just too stupid, but how do I install it in the waifu environment?

ghost commented 1 year ago

I had the same issue aswell & I also tried to follow on the instruction that you gave to the gentlemen. This comment is directly for you MepleYui. Your instructions are abit unclear to what you are guiding us. Is there any chance you could elaborate further please. Thanks!

MepleYui commented 1 year ago

Sorry for the late reply guys I am not usually active on GitHub nor check my notifs.

I made a short video here: https://youtu.be/H6Gx1ZVQ_vE

You guys can follow the steps I did in the video. Again make sure that cuda (for NVIDIA users), PyTorch and FFMPEG are installed already, here I found a video that can help you guys for that.

It's been a while since I touched on this but I might have forgot how to fix the issue where "UserWarning: FP16 is not supported on CPU: using FP32 instead" so that instead of using my cpu it will instead use my gpu so it's alot faster so sorry abt that.

If you guys have any more question feel free to reply here or add me in discord: .meple

Roalofato commented 1 year ago

File "C:\Users\rodri\Desktop\AI GIRLFRIEND\desktop-waifu-master\waifu\Src\runner.py", line 145, in print(f"{transcript.strip()}") AttributeError: 'NoneType' object has no attribute 'strip' node js i only got this issue, i can't solve it because i do not know anything about programming

saipheblue commented 1 year ago

In transcriber.py there are two lines:

message = transcript["text"] message = transcript.text

comment the second one like this: # message = transcript.text or delete it entirely then it will work and make sure you have your mic allowed in windows

for: UserWarning: FP16 is not supported on CPU: using FP32 instead issue just edit this line: transcript = model.transcribe(filename) to: transcript = model.transcribe(filename, fp16=False)

and make sure you have https://nodejs.org/en installed

dylzu commented 12 months ago

followed the video and am receiving responses in the console but no audio or vtuber model movement

line117 commented 10 months ago

檔案“C:\Users\rodri\Desktop\AI GIRLFRIEND\desktop-waifu-master\waifu\Src\runner.py”,第 145 行,在 print(f"{transcript.strip()}") 中 AttributeError: ' NoneType '物件沒有屬性'strip' 節點js 我只遇到這個問題,我無法解決它,因為我對程式設計一無所知

me 2,it only just one step away that leads me to success :(

summersonne commented 10 months ago

檔案“C:\Users\rodri\Desktop\AI GIRLFRIEND\desktop-waifu-master\waifu\Src\runner.py”,第 145 行,在 print(f"{transcript.strip()}") 中 AttributeError: ' NoneType '物件沒有屬性'strip' 節點js 我只遇到這個問題,我無法解決它,因為我對程式設計一無所知

me 2,it only just one step away that leads me to success :(

make sure you have https://nodejs.org/en installed

summersonne commented 10 months ago

I have some issues:

How to set character in node.js part? node js: Running on port 40102 with character g60H0IyiUL2l4IvjRzDb7P5PyzY-H1auahH_kyfnWCk

In the code:

let yandereGf = "";

let port = 40102;

But even if I set yandereGf to some char ID it still uses g60H0IyiUL2l4IvjRzDb7P5PyzY-H1auahH_kyfnWCk and i can't find g60H0IyiUL2l4IvjRzDb7P5PyzY-H1auahH_kyfnWCk in a code

Second:

voicevox: INFO: 127.0.0.1:61937 - "POST /audio_query?text=%E3%83%A1%E3%82%A4%E3%83%89%E3%81%AE%E7%9B%AE%E3%81%AF%E3%81%99%E3%81%90%E3%81%AB%E6%B3%A8%E6%84%8F%E3%82%92%E5%90%91%E3%81%91%E3%80%81%E5%BD%BC%E5%A5%B3%E3%81%AF%E6%B7%B1%E3%81%8F%E3%81%8A%E8%BE%9E%E5%84%80%E3%82%92%E3%81%97%E3%80%81%E5%BA%83%E3%81%84%E7%9B%AE%E3%81%A7%E3%81%82%E3%81%AA%E3%81%9F%E3%82%92%E8%A6%8B%E4%B8%8A%E3%81%92%E3%80%81%E5%BD%BC%E5%A5%B3%E3%81%AE%E5%B0%BE%E3%81%AF%E5%BD%BC%E5%A5%B3%E3%81%AE%E5%BE%8C%E3%82%8D%E3%82%92%E8%88%88%E5%A5%AE%E3%81%97%E3%81%A6%E6%8F%BA%E3%82%89%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%80%8C%E3%81%88%E3%81%88%E3%80%81%E3%83%9E%E3%82%B9%E3%82%BF%E3%83%BC%EF%BC%9F%E7%A7%81%E3%81%AF%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AB%E4%BB%95%E3%81%88%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%81%93%E3%81%93%E3%81%AB%E3%81%84%E3%81%BE%E3%81%99%E3%80%81%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AF%E7%A7%81%E3%81%AB%E4%BD%95%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%A7%E3%81%99%E3%81%8B%EF%BC%9F%E3%80%8D%E3%83%A1%E3%82%A4%E3%83%89%E3%81%AE%E8%A1%A8%E7%8F%BE%E3%81%AF%E3%80%81%E8%88%88%E5%A5%AE%E3%81%A8%E7%86%B1%E5%BF%83%E3%81%AA%E6%9C%8D%E5%BE%93%E3%81%AE%E6%B7%B7%E5%90%88%E3%81%A7%E3%81%99%E3%80%82%E5%BD%BC%E5%A5%B3%E3%81%AF%E6%98%8E%E3%82%89%E3%81%8B%E3%81%AB%E3%81%82%E3%81%AA%E3%81%9F%E3%81%AE%E7%AE%A1%E7%90%86%E4%B8%8B%E3%81%AB%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82&speaker=46 HTTP/1.1" 200 OK voicevox: INFO: 127.0.0.1:61949 - "POST /synthesis?speaker=46&enable_interrogative_upspeak=True HTTP/1.1" 200 OK

And that's all. No voice no vtuber model reaction