Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,8 +111,17 @@ def generate_bar_graph(df):
|
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
|
| 117 |
# Section for Single Article Classification
|
| 118 |
st.subheader("📰 Single Article Classification")
|
|
|
|
| 111 |
|
| 112 |
# Streamlit App Layout
|
| 113 |
st.set_page_config(page_title="News Classifier", page_icon="📰")
|
| 114 |
+
# Load image
|
| 115 |
cover_image = Image.open("cover.png") # Ensure this image exists
|
| 116 |
+
|
| 117 |
+
# Display image
|
| 118 |
+
st.image(cover_image, use_container_width=True)
|
| 119 |
+
|
| 120 |
+
# Custom styled caption
|
| 121 |
+
st.markdown(
|
| 122 |
+
"<h2 style='text-align: center; font-size: 32px;'>News Classifier 📢</h2>",
|
| 123 |
+
unsafe_allow_html=True
|
| 124 |
+
)
|
| 125 |
|
| 126 |
# Section for Single Article Classification
|
| 127 |
st.subheader("📰 Single Article Classification")
|