EC2 Default User commited on
Commit
b06718d
1 Parent(s): 42cb2f7
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -36,4 +36,11 @@ anonymise_now = st.button(
36
  type="primary",
37
  on_click=anonymise_text,
38
  args=(text, metadata, white_listed_words),
39
- )
 
 
 
 
 
 
 
 
36
  type="primary",
37
  on_click=anonymise_text,
38
  args=(text, metadata, white_listed_words),
39
+ )
40
+ text_spinner_placeholder = st.empty()
41
+ if st.session_state.text_error:
42
+ st.error(st.session_state.text_error)
43
+
44
+ if st.session_state.text_anon:
45
+ st.markdown("""---""")
46
+ st.text_area(label="Text anonymised", value=st.session_state.text_anon, height=100)