Update app.py
Browse files
app.py
CHANGED
|
@@ -87,10 +87,10 @@ if submit:
|
|
| 87 |
font-size: 20px;
|
| 88 |
border-radius: 7px;
|
| 89 |
padding-left: 12px;
|
| 90 |
-
padding-top:
|
| 91 |
-
padding-bottom:
|
| 92 |
line-height: 25px;
|
| 93 |
-
text-align: center;">This article is {label[prediction]}
|
| 94 |
st.error(f"This news is {label[prediction]}.")
|
| 95 |
|
| 96 |
with st.expander("Related Articles"):
|
|
|
|
| 87 |
font-size: 20px;
|
| 88 |
border-radius: 7px;
|
| 89 |
padding-left: 12px;
|
| 90 |
+
padding-top: 15px;
|
| 91 |
+
padding-bottom: 15px;
|
| 92 |
line-height: 25px;
|
| 93 |
+
text-align: center;">This article is <b>{label[prediction]}</b>.</p>""", unsafe_allow_html=True)
|
| 94 |
st.error(f"This news is {label[prediction]}.")
|
| 95 |
|
| 96 |
with st.expander("Related Articles"):
|