riffusion / riffusion-app-hobby

Stable diffusion for real-time music generation (web app)
https://riffusion.vercel.app
MIT License
2.6k stars 190 forks source link

Issue with web app #20

Closed Ace71425 closed 1 year ago

Ace71425 commented 1 year ago

I have set up the web app and the inference server and I can see the gui in localhost:3000 but I am getting this error...

Unhandled Runtime Error

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Anyone know what this could be? Thanks!

FYI - for further clarification I'm getting "INVALID_URL" in the web app CMD window

FYI2 - I believe the issue is I didn't add the .env.local file

"To configure these backends, add a .env.local file:"

I made the file and copied the code in pointing to the inference server....can someone just point me to where I need to place this file in the file structure? and is it .env or .env.local ...in the server file it says process.env so do I name it that?

Also does everything from the model repo go inside riffusion-inference-main/riffusion directory?? Thanks!

hmartiro commented 1 year ago

The .env.local file needs to be in the root of this repository (riffusion-app). The inference server is cloned separately, does not need to be in this one but alongside it. I updated the readme.