Spaces:
Runtime error
Runtime error
update app
Browse files
app.py
CHANGED
|
@@ -303,6 +303,10 @@ with col1:
|
|
| 303 |
annotated_tokens=annotate()
|
| 304 |
annotated_text(*annotated_tokens)
|
| 305 |
st.write(st.session_state.analyze_results)
|
|
|
|
|
|
|
| 306 |
with col2:
|
| 307 |
if st.session_state.anon_results:
|
| 308 |
-
st.write(st.session_state.anon_results.text)
|
|
|
|
|
|
|
|
|
| 303 |
annotated_tokens=annotate()
|
| 304 |
annotated_text(*annotated_tokens)
|
| 305 |
st.write(st.session_state.analyze_results)
|
| 306 |
+
else:
|
| 307 |
+
st.write("No PII was found.")
|
| 308 |
with col2:
|
| 309 |
if st.session_state.anon_results:
|
| 310 |
+
st.write(st.session_state.anon_results.text)
|
| 311 |
+
else:
|
| 312 |
+
st.write("No PII was found.")
|