Ashendilantha commited on
Commit
feb678c
Β·
verified Β·
1 Parent(s): 8731d53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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
- # Increase title size using HTML
116
- st.markdown("<h1 style='font-size: 50px;'>πŸ“° News Classifier</h1>", unsafe_allow_html=True)
117
 
118
- cover_image = Image.open("cover.png") # Ensure this image exists
119
- st.image(cover_image, caption="News Classifier πŸ“’", use_container_width=True)
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")