omri374 commited on
Commit
bd1f05c
1 Parent(s): 0aa6503

Update presidio_streamlit.py

Browse files
Files changed (1) hide show
  1. 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(