Adityaganesh commited on
Commit
89216a0
Β·
verified Β·
1 Parent(s): bb63db9

Update app.py

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