Update presidio_streamlit.py
Browse files- presidio_streamlit.py +1 -1
presidio_streamlit.py
CHANGED
@@ -60,7 +60,7 @@ model_list = [
|
|
60 |
"Azure Text Analytics PII",
|
61 |
"Other",
|
62 |
]
|
63 |
-
if allow_other_models:
|
64 |
model_list.pop()
|
65 |
# Select model
|
66 |
st_model = st.sidebar.selectbox(
|
|
|
60 |
"Azure Text Analytics PII",
|
61 |
"Other",
|
62 |
]
|
63 |
+
if not allow_other_models:
|
64 |
model_list.pop()
|
65 |
# Select model
|
66 |
st_model = st.sidebar.selectbox(
|