TRACES commited on
Commit
adb8993
·
1 Parent(s): 23fe7cf

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -136,14 +136,14 @@ if st.session_state.agree:
136
  if st.session_state.emotions_result[0]['score'] < 0.97:
137
  st.warning(content['emotions_label_1'][st.session_state.lang] +
138
  str(st.session_state.emotions_result[0]['label']) +
139
- content['emotions_label_2'][st.session_state.lang]
140
  str(round(st.session_state.emotions_result[0]['score'] * 100, 2)) +
141
  content['emotions_label_3'][st.session_state.lang] +
142
  content['emotions_label_4'][st.session_state.lang], icon = "⚠️")
143
  else:
144
  st.success(content['emotions_label_1'][st.session_state.lang] +
145
  str(st.session_state.emotions_result[0]['label']) +
146
- content['emotions_label_2'][st.session_state.lang]
147
  str(round(st.session_state.emotions_result[0]['score'] * 100, 2)) +
148
  content['emotions_label_3'][st.session_state.lang], icon="✅")
149
 
 
136
  if st.session_state.emotions_result[0]['score'] < 0.97:
137
  st.warning(content['emotions_label_1'][st.session_state.lang] +
138
  str(st.session_state.emotions_result[0]['label']) +
139
+ content['emotions_label_2'][st.session_state.lang] +
140
  str(round(st.session_state.emotions_result[0]['score'] * 100, 2)) +
141
  content['emotions_label_3'][st.session_state.lang] +
142
  content['emotions_label_4'][st.session_state.lang], icon = "⚠️")
143
  else:
144
  st.success(content['emotions_label_1'][st.session_state.lang] +
145
  str(st.session_state.emotions_result[0]['label']) +
146
+ content['emotions_label_2'][st.session_state.lang] +
147
  str(round(st.session_state.emotions_result[0]['score'] * 100, 2)) +
148
  content['emotions_label_3'][st.session_state.lang], icon="✅")
149