ZeroGPU has not been initialized Error after disabling dev mode

I am sorry for being a newbie, the error was on my end.

I just now realized that I need some extra code to have it work on ZeroGPU, as detailed here:

In my case, I only needed to import “spaces” and add the decorator to the generate function, now it also works out of dev mode.

Sorry for the inconvenience…

1 Like