Yannic Kilcher commited on
Commit
8d90090
1 Parent(s): f7560c0

changed to slider

Browse files
Files changed (1) hide show
  1. interface.py +1 -1
interface.py CHANGED
@@ -64,7 +64,7 @@ def greet(num_images, interpolate):
64
 
65
 
66
  iface = gr.Interface(fn=greet, inputs=[
67
- gr.inputs.Number(default=1, label="Num Images", min=1, max=16),
68
  gr.inputs.Checkbox(default=False, label="Interpolate")
69
  ], outputs="image")
70
  iface.launch()
 
64
 
65
 
66
  iface = gr.Interface(fn=greet, inputs=[
67
+ gr.inputs.Slider(default=1, label="Num Images", minimum=1, maximum=16, step=1),
68
  gr.inputs.Checkbox(default=False, label="Interpolate")
69
  ], outputs="image")
70
  iface.launch()