Update app.py for slider to only have int values so range doesn't fail

#6
Files changed (1) hide show
  1. app.py +1 -1
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