Spaces:
Runtime error
Fix seed
Currently the seed is ignored, as it is supplied as an unknown parameter (seed
). Instead, it should be supplied as a generator.
hi
@radames
, yeah, take a look at the params documented here: https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion#diffusers.StableDiffusionDepth2ImgPipeline.__call__
there's no seed
param, instead you have to create a generator and provide it via the generator
param.
you can actually tell it's currently ignored in your space: even if you set the same seed, it will generate different images.
hehe, just noticed that the build is currently failing due to that exact error. seems it has become less forgiving:TypeError: __call__() got an unexpected keyword argument 'seed'
you're welcome, thank you for making this space available in the first place!