Spaces:
Running
on
A10G
Running
on
A10G
Non-integer value for Skip Steps causes error
#2
by
citizenplain
- opened
Thanks so much for all your work on this! I've found it helpful to adjust Skip Steps in Advanced Settings but the slider in Gradio allows float/decimal values, which causes an error:
IndexError: only integers, slices (
:), ellipsis (
...), None and long or byte Variables are valid indices (got float)
Changing the decimal value to an integer fixes the problem.
I modified line 620 in app.py
to add step=1
and it avoids the problem:
skip = gr.Slider(minimum=0, maximum=60, value=36, step=1, label="Skip Steps", interactive=True, info = "At which step to start denoising. Bigger values increase fidelity to input image")
Thanks for reporting! I have pushed a fix
multimodalart
changed discussion status to
closed