Spaces:
Runtime error
Runtime error
rotaba
commited on
Commit
•
328779b
1
Parent(s):
78d7e62
changed sidebar
Browse files
app.py
CHANGED
@@ -101,12 +101,8 @@ def annotate(text, st_analyze_results, st_entities):
|
|
101 |
st.set_page_config(page_title="Privy + Presidio demo (English)", layout="wide")
|
102 |
|
103 |
# Side bar
|
104 |
-
|
105 |
-
|
106 |
-
Detect and anonymize PII in text using an [NLP model](https://huggingface.co/beki/en_spacy_pii_distilbert) trained on protocol traces (JSON, SQL, XML etc.) generated by
|
107 |
-
[Privy](https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy) and rule-based classifiers from [Presidio](https://aka.ms/presidio).
|
108 |
-
"""
|
109 |
-
)
|
110 |
|
111 |
st_entities = st.sidebar.multiselect(
|
112 |
label="Which entities to look for?",
|
@@ -121,6 +117,13 @@ st_threshold = st.sidebar.slider(
|
|
121 |
st_return_decision_process = st.sidebar.checkbox(
|
122 |
"Add analysis explanations in json")
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
st.sidebar.info(
|
125 |
"Privy is an open source framework for synthetic data generation in protocol trace formats (json, sql, html etc). Presidio is an open source framework for PII detection and anonymization. "
|
126 |
"For more info visit [privy](https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy) and [aka.ms/presidio](https://aka.ms/presidio)"
|
|
|
101 |
st.set_page_config(page_title="Privy + Presidio demo (English)", layout="wide")
|
102 |
|
103 |
# Side bar
|
104 |
+
# add picture with
|
105 |
+
st.sidebar.image("images/bitahoy-logo.png", width=200)
|
|
|
|
|
|
|
|
|
106 |
|
107 |
st_entities = st.sidebar.multiselect(
|
108 |
label="Which entities to look for?",
|
|
|
117 |
st_return_decision_process = st.sidebar.checkbox(
|
118 |
"Add analysis explanations in json")
|
119 |
|
120 |
+
st.sidebar.markdown(
|
121 |
+
"""
|
122 |
+
Detect and anonymize PII in text using an [NLP model](https://huggingface.co/beki/en_spacy_pii_distilbert) trained on protocol traces (JSON, SQL, XML etc.) generated by
|
123 |
+
[Privy](https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy) and rule-based classifiers from [Presidio](https://aka.ms/presidio).
|
124 |
+
"""
|
125 |
+
)
|
126 |
+
|
127 |
st.sidebar.info(
|
128 |
"Privy is an open source framework for synthetic data generation in protocol trace formats (json, sql, html etc). Presidio is an open source framework for PII detection and anonymization. "
|
129 |
"For more info visit [privy](https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy) and [aka.ms/presidio](https://aka.ms/presidio)"
|