Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -128,7 +128,7 @@ if st.session_state.agree:
|
|
128 |
str(round(st.session_state.untrue_detector_probability * 100, 2)) +
|
129 |
content['untrue_no_proba'][st.session_state.lang], icon="✅")
|
130 |
|
131 |
-
if st.session_state.
|
132 |
st.warning(content['bert_yes_1'][st.session_state.lang] +
|
133 |
str(round(st.session_state.bert_disinfo_result[0]['score'] * 100, 2)) +
|
134 |
content['bert_yes_2'][st.session_state.lang], icon = "⚠️")
|
|
|
128 |
str(round(st.session_state.untrue_detector_probability * 100, 2)) +
|
129 |
content['untrue_no_proba'][st.session_state.lang], icon="✅")
|
130 |
|
131 |
+
if st.session_state.bert_disinfo_result[0]['label'] == 'LABEL_1':
|
132 |
st.warning(content['bert_yes_1'][st.session_state.lang] +
|
133 |
str(round(st.session_state.bert_disinfo_result[0]['score'] * 100, 2)) +
|
134 |
content['bert_yes_2'][st.session_state.lang], icon = "⚠️")
|