Mpavan45 commited on
Commit
5cf6eda
verified
1 Parent(s): 3a6e7b6

Update app.py

Browse files

![DALL路E 2025-03-19 12.15.26 - A landscape background image for a news-related Streamlit web application. The image features a futuristic newsroom with digital screens displaying br (1).jpg](https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/SSSUXA0EnErpV8EIEXM-R.jpeg)

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -81,7 +81,7 @@ st.markdown(
81
  """
82
  <style>
83
  body {
84
- background-image: url('https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/4FFTjgkYjYUq6w-0gR15v.jpeg');
85
  background-size: cover;
86
  background-repeat: no-repeat;
87
  background-attachment: fixed;
@@ -177,8 +177,8 @@ st.markdown(
177
  """,
178
  unsafe_allow_html=True
179
  )
180
-
181
- st.markdown("<div class='centered-container'><h1 class='title'>"PressGuard</h1></div>", unsafe_allow_html=True)
182
  st.markdown("<div class='prompt-box'>Paste the article content below to analyze its category with Newsense AI</div>", unsafe_allow_html=True)
183
 
184
  # User input
 
81
  """
82
  <style>
83
  body {
84
+ background-image: url('https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/SSSUXA0EnErpV8EIEXM-R.jpeg');
85
  background-size: cover;
86
  background-repeat: no-repeat;
87
  background-attachment: fixed;
 
177
  """,
178
  unsafe_allow_html=True
179
  )
180
+ # Option 3: Using single string (Best for simplicity)
181
+ st.markdown("<div class='centered-container'><h1 class='title'>PressGuard</h1></div>", unsafe_allow_html=True)
182
  st.markdown("<div class='prompt-box'>Paste the article content below to analyze its category with Newsense AI</div>", unsafe_allow_html=True)
183
 
184
  # User input