"ZeroGPU worker error. RuntimeError" in the FLUX.1 [schnell] demo widget

“ZeroGPU worker error. RuntimeError” in the FLUX.1 [schnell] demo widget.
The error always occurs after completion of the first inference step.
Can anyone fix this? I wanted to see how schnell compared to the other FLUX models.

Here’s a link to the demo widget:
https://huggingface.co/spaces/black-forest-labs/FLUX.1-schnell

1 Like

After duplicating it, it worked without issues. Probably just needs a restart (by the author) to fix it.

I made a slightly error-avoiding version for myself, so if you duplicate this as “Zero GPU Space,” it should work.
Note: FLUX.1 is a gated model, so you need permission and to set the HF_TOKEN Secret.