dlsmallw commited on
Commit
19c3f9b
·
1 Parent(s): 9b84b3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,7 +104,8 @@ def build_result_tree(parent_elem, results):
104
  sent_details.append(sent_res)
105
 
106
  with parent_elem:
107
- st.markdown(f'### Results - {':red[Detected Discriminatory Sentiment]' if discriminatory_sentiment else ':green[No Discriminatory Sentiment Detected]'}')
 
108
  with st.container(border=True):
109
  st.markdown('<hr style="margin: 0.5em 0 0 0;">', unsafe_allow_html=True)
110
  st.markdown(
 
104
  sent_details.append(sent_res)
105
 
106
  with parent_elem:
107
+ result_hdr = ':red[Detected Discriminatory Sentiment]' if discriminatory_sentiment else ':green[No Discriminatory Sentiment Detected]'
108
+ st.markdown(f'### Results - {result_hdr}')
109
  with st.container(border=True):
110
  st.markdown('<hr style="margin: 0.5em 0 0 0;">', unsafe_allow_html=True)
111
  st.markdown(