Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
·
eba77c5
1
Parent(s):
2b58e9e
Fix slider to be int steps
Browse files
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=["+", "-", "*", "/", "^"],
|