Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,12 +111,13 @@ def generate_bar_graph(df):
|
|
| 111 |
|
| 112 |
# Streamlit App Layout
|
| 113 |
st.set_page_config(page_title="News Classifier", page_icon="π°")
|
|
|
|
|
|
|
| 114 |
|
| 115 |
-
|
| 116 |
-
st.markdown("<h1 style='font-size: 50px;'>π° News Classifier</h1>", unsafe_allow_html=True)
|
| 117 |
|
| 118 |
-
|
| 119 |
-
st.
|
| 120 |
|
| 121 |
# Section for Single Article Classification
|
| 122 |
st.subheader("π° Single Article Classification")
|
|
|
|
| 111 |
|
| 112 |
# Streamlit App Layout
|
| 113 |
st.set_page_config(page_title="News Classifier", page_icon="π°")
|
| 114 |
+
cover_image = Image.open("cover.png") # Ensure this image exists
|
| 115 |
+
st.set_page_config(page_title="News Classifier", page_icon="π°")
|
| 116 |
|
| 117 |
+
st.image(cover_image, use_container_width=True)
|
|
|
|
| 118 |
|
| 119 |
+
# Custom styled caption
|
| 120 |
+
st.markdown("<h2 style='text-align: center; font-size: 24px;'>π’ News Classifier</h2>", unsafe_allow_html=True)
|
| 121 |
|
| 122 |
# Section for Single Article Classification
|
| 123 |
st.subheader("π° Single Article Classification")
|