Spaces:
Running
Running
Update notebooks/multiplier.py
Browse files- notebooks/multiplier.py +2 -2
notebooks/multiplier.py
CHANGED
@@ -15,8 +15,8 @@ def _():
|
|
15 |
- How many times?: {y}
|
16 |
'''
|
17 |
).batch(
|
18 |
-
x=mo.ui.slider(start=1, stop=10, value=3, include_input=True),
|
19 |
-
y=mo.ui.slider(start=1, stop=10, value=
|
20 |
)
|
21 |
return qp, ui
|
22 |
|
|
|
15 |
- How many times?: {y}
|
16 |
'''
|
17 |
).batch(
|
18 |
+
x=mo.ui.slider(start=1, stop=10, value=qp.get("x", 3), include_input=True),
|
19 |
+
y=mo.ui.slider(start=1, stop=10, value=qp.get("y", 4), include_input=True)
|
20 |
)
|
21 |
return qp, ui
|
22 |
|