Update app.py
Browse files
app.py
CHANGED
|
@@ -33,13 +33,14 @@ def set_background(image_path):
|
|
| 33 |
background-size: cover;
|
| 34 |
background-repeat: no-repeat;
|
| 35 |
background-attachment: fixed;
|
|
|
|
| 36 |
}}
|
| 37 |
</style>
|
| 38 |
"""
|
| 39 |
st.markdown(bg_image_style, unsafe_allow_html=True)
|
| 40 |
|
| 41 |
# Update the image path
|
| 42 |
-
set_background("
|
| 43 |
|
| 44 |
# Initialize stopwords and lemmatizer
|
| 45 |
stop_words = set(stopwords.words('english')).union({"pm"})
|
|
|
|
| 33 |
background-size: cover;
|
| 34 |
background-repeat: no-repeat;
|
| 35 |
background-attachment: fixed;
|
| 36 |
+
background-position: center;
|
| 37 |
}}
|
| 38 |
</style>
|
| 39 |
"""
|
| 40 |
st.markdown(bg_image_style, unsafe_allow_html=True)
|
| 41 |
|
| 42 |
# Update the image path
|
| 43 |
+
set_background("page/News image 2.png") # Ensure the image is in the correct folder
|
| 44 |
|
| 45 |
# Initialize stopwords and lemmatizer
|
| 46 |
stop_words = set(stopwords.words('english')).union({"pm"})
|