Adityaganesh commited on
Commit
d6bea13
Β·
verified Β·
1 Parent(s): 27e5183

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/jpg;base64,{encoded_img}");
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/News image.jpg")
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