Spaces:
Runtime error
Runtime error
ziggycross
commited on
Commit
•
b5a6f02
1
Parent(s):
a3d4b76
Added integer steps for sliders.
Browse files
app.py
CHANGED
@@ -32,9 +32,9 @@ else:
|
|
32 |
# Options for data optimization
|
33 |
with st.container() as anonymizing_options:
|
34 |
st.markdown("### Anonymizing options:")
|
35 |
-
max_categorical_size = st.slider("Maximum number of categories", min_value=2, max_value=200, value=50)
|
36 |
-
bin_size = st.slider("Target bin size", min_value=2, max_value=200, value=20)
|
37 |
-
sensitivity_minimum = st.number_input("Minimum count", min_value=2, max_value=10, value=2)
|
38 |
|
39 |
|
40 |
### DATA PREVIEW AND TRANSFORM
|
|
|
32 |
# Options for data optimization
|
33 |
with st.container() as anonymizing_options:
|
34 |
st.markdown("### Anonymizing options:")
|
35 |
+
max_categorical_size = st.slider("Maximum number of categories", min_value=2, max_value=200, value=50, step=1)
|
36 |
+
bin_size = st.slider("Target bin size", min_value=2, max_value=200, value=20, step=1)
|
37 |
+
sensitivity_minimum = st.number_input("Minimum count", min_value=2, max_value=10, value=2, step=1)
|
38 |
|
39 |
|
40 |
### DATA PREVIEW AND TRANSFORM
|