* fixing bugs
Browse files
output.py
CHANGED
@@ -361,10 +361,10 @@ def init_settings() -> (List, Dict):
|
|
361 |
st.caption(
|
362 |
"Check all supported entities: https://microsoft.github.io/presidio/supported_entities/#list-of-supported-entities"
|
363 |
)
|
364 |
-
st_sens_redact = st.checkbox("Redact", value=False)
|
365 |
st_sens_threshold = st.slider(
|
366 |
label="Threshold",
|
367 |
-
value=0,
|
368 |
min_value=0.0,
|
369 |
max_value=1.0,
|
370 |
step=0.1,
|
|
|
361 |
st.caption(
|
362 |
"Check all supported entities: https://microsoft.github.io/presidio/supported_entities/#list-of-supported-entities"
|
363 |
)
|
364 |
+
st_sens_redact = st.checkbox("Redact", value=False, key="sens_redact")
|
365 |
st_sens_threshold = st.slider(
|
366 |
label="Threshold",
|
367 |
+
value=0.0,
|
368 |
min_value=0.0,
|
369 |
max_value=1.0,
|
370 |
step=0.1,
|
prompt.py
CHANGED
@@ -95,7 +95,7 @@ def init_settings() -> (List, Dict):
|
|
95 |
)
|
96 |
st_anon_threshold = st.slider(
|
97 |
label="Threshold",
|
98 |
-
value=0,
|
99 |
min_value=0.0,
|
100 |
max_value=1.0,
|
101 |
step=0.1,
|
|
|
95 |
)
|
96 |
st_anon_threshold = st.slider(
|
97 |
label="Threshold",
|
98 |
+
value=0.0,
|
99 |
min_value=0.0,
|
100 |
max_value=1.0,
|
101 |
step=0.1,
|