MilesCranmer commited on
Commit
ea8fece
·
unverified ·
1 Parent(s): 6644c43

Fix slider to be int steps

Browse files
Files changed (1) hide show
  1. gui/app.py +3 -1
gui/app.py CHANGED
@@ -92,12 +92,14 @@ def main():
92
  maximum=1000,
93
  default=40,
94
  label="Number of Iterations",
 
95
  ),
96
  gr.inputs.Slider(
97
  minimum=7,
98
  maximum=35,
99
  default=20,
100
- label="Maximum Complexity"
 
101
  ),
102
  gr.inputs.CheckboxGroup(
103
  choices=["+", "-", "*", "/", "^"],
 
92
  maximum=1000,
93
  default=40,
94
  label="Number of Iterations",
95
+ step=1,
96
  ),
97
  gr.inputs.Slider(
98
  minimum=7,
99
  maximum=35,
100
  default=20,
101
+ label="Maximum Complexity",
102
+ step=1,
103
  ),
104
  gr.inputs.CheckboxGroup(
105
  choices=["+", "-", "*", "/", "^"],