Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def set_background(image_path):
|
|
| 34 |
bg_image_style = f"""
|
| 35 |
<style>
|
| 36 |
.stApp {{
|
| 37 |
-
background-image: url("data:image/
|
| 38 |
background-size: cover;
|
| 39 |
background-repeat: no-repeat;
|
| 40 |
background-position: center;
|
|
@@ -45,7 +45,7 @@ def set_background(image_path):
|
|
| 45 |
st.markdown(bg_image_style, unsafe_allow_html=True)
|
| 46 |
|
| 47 |
# β
Set background image
|
| 48 |
-
set_background("Images/
|
| 49 |
|
| 50 |
# β
Initialize stopwords and lemmatizer
|
| 51 |
stop_words = set(stopwords.words('english')).union({"pm"})
|
|
|
|
| 34 |
bg_image_style = f"""
|
| 35 |
<style>
|
| 36 |
.stApp {{
|
| 37 |
+
background-image: url("data:image/jpg;base64,{encoded_img}");
|
| 38 |
background-size: cover;
|
| 39 |
background-repeat: no-repeat;
|
| 40 |
background-position: center;
|
|
|
|
| 45 |
st.markdown(bg_image_style, unsafe_allow_html=True)
|
| 46 |
|
| 47 |
# β
Set background image
|
| 48 |
+
set_background("Images/image.jpg")
|
| 49 |
|
| 50 |
# β
Initialize stopwords and lemmatizer
|
| 51 |
stop_words = set(stopwords.words('english')).union({"pm"})
|