Spaces:
Running
Running
Update app.py for slider to only have int values so range doesn't fail
#6
by
abhishekkr
- opened
app.py
CHANGED
@@ -13,7 +13,7 @@ def fake_diffusion(steps):
|
|
13 |
yield image
|
14 |
|
15 |
demo = gr.Interface(fake_diffusion,
|
16 |
-
inputs=gr.Slider(1, 10, 3),
|
17 |
outputs="image")
|
18 |
|
19 |
# define queue - required for generators
|
|
|
13 |
yield image
|
14 |
|
15 |
demo = gr.Interface(fake_diffusion,
|
16 |
+
inputs=gr.Slider(1, 10, 3, step=1),
|
17 |
outputs="image")
|
18 |
|
19 |
# define queue - required for generators
|