wAIfu-DEV / w-AI-fu

Talk with or stream using an AI Vtuber [REQUIRES NOVELAI] blazing fast 🔥 READ THE README
GNU General Public License v3.0
126 stars 9 forks source link

Error after working for one response (SyntaxError: Unexpected end of JSON input) #10

Closed answerecho closed 1 year ago

answerecho commented 1 year ago

It will send one chat response but then the web UI will show a prompt that reads "Could not reach the w-AI-fu application, it may have been closed.'" and then no responses will work. I also didn't hear an audio output and used play.ht and made sure to select it under TTS provider. This app is great though, is it possible to use your own local model like llama.cpp? Thank you!

Here is what the console window read:

Hello? Hilda: Hey User, welcome back. How are things going? Is everything alright? If anything happens please contact me immediately via email. Also feel free to send me any feedback regarding this interview. undefined:1

SyntaxError: Unexpected end of JSON input at JSON.parse () at C:\Users\Desktop\w-AI-fu-main\w-AI-fu-main\w-AI-fu\app.js:762:27 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.15.0 Press any key to continue . . .

answerecho commented 1 year ago

Nevermind fixed it! I just saw on youtube where you mentioned you were going to deprecate play.ht I also downloaded ffmpeg and just dropped it right where the mmpeg error asked me to place it and everything works smoothly now. Thanks for the great program, I would really like to just use my own AI model but even then I would have to run my own TTS which sounds like my computer would probably have a tough time with it. Have a nice day!