Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def set_background(image_path):
|
|
| 36 |
bg_image_style = f"""
|
| 37 |
<style>
|
| 38 |
.stApp {{
|
| 39 |
-
background-image: url("data:image/
|
| 40 |
background-size: cover;
|
| 41 |
background-repeat: no-repeat;
|
| 42 |
background-position: center;
|
|
@@ -47,7 +47,7 @@ def set_background(image_path):
|
|
| 47 |
st.markdown(bg_image_style, unsafe_allow_html=True)
|
| 48 |
|
| 49 |
# β
Set background image (Make sure the image is in the same directory)
|
| 50 |
-
set_background("Images/
|
| 51 |
|
| 52 |
|
| 53 |
# β
Initialize stopwords and lemmatizer
|
|
|
|
| 36 |
bg_image_style = f"""
|
| 37 |
<style>
|
| 38 |
.stApp {{
|
| 39 |
+
background-image: url("data:image/png;base64,{encoded_img}");
|
| 40 |
background-size: cover;
|
| 41 |
background-repeat: no-repeat;
|
| 42 |
background-position: center;
|
|
|
|
| 47 |
st.markdown(bg_image_style, unsafe_allow_html=True)
|
| 48 |
|
| 49 |
# β
Set background image (Make sure the image is in the same directory)
|
| 50 |
+
set_background("Images/picture.png")
|
| 51 |
|
| 52 |
|
| 53 |
# β
Initialize stopwords and lemmatizer
|