arogeriogel commited on
Commit
5baa2aa
1 Parent(s): 7a6e25f

update app

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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.")