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

error - DOMException [TimeoutError]: The operation was aborted due to timeout #19

Closed AldenBraverman closed 1 year ago

AldenBraverman commented 1 year ago

Hi! Very cool project - attempting to run the inference server and the web app locally. The application seems to timeout when its generating the audio file. I've attached screenshots of my logs below, I'm running Node 19.2 as recommended in other issues threads.

RIFFUSION-APP

image

RIFFUSION-INFERENCE

image

localhost:3000

image

niuggg commented 1 year ago

good

hmartiro commented 1 year ago

Ah yes! There is a timeout parameter in https://github.com/riffusion/riffusion-app/blob/main/pages/api/server.js which is set to 15 seconds. It's timing out since your inference is slightly slower than that. Feel free to increase it on your end, but I will change the default to 60 seconds for you.