Spaces:
Running
Running
Update main.py
Browse files
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'] <
|
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] +
|