TRACES commited on
Commit
7c811b0
·
1 Parent(s): f7beae7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -136,7 +136,7 @@ if st.session_state.agree:
136
  str(round(st.session_state.bert_disinfo_result[0]['score'] * 100, 2)) +
137
  content['bert_no_2'][st.session_state.lang], icon="✅")
138
 
139
- if st.session_state.emotions_result[0]['score'] < '0.97':
140
  st.warning(content['emotions_label_1'][st.session_state.lang] +
141
  str(st.session_state.emotions_result[0]['label']) +
142
  content['emotions_label_2'][st.session_state.lang] +
 
136
  str(round(st.session_state.bert_disinfo_result[0]['score'] * 100, 2)) +
137
  content['bert_no_2'][st.session_state.lang], icon="✅")
138
 
139
+ if st.session_state.emotions_result[0]['score'] < 0.97:
140
  st.warning(content['emotions_label_1'][st.session_state.lang] +
141
  str(st.session_state.emotions_result[0]['label']) +
142
  content['emotions_label_2'][st.session_state.lang] +