ruthvik7382 commited on
Commit
62ebce7
β€’
1 Parent(s): 7f6ba37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -116,5 +116,18 @@ def display_resume():
116
  - Foundations in Data Science- PadhAI from One Fourth Labs – May 2021
117
  """)
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  if __name__ == "__main__":
120
  display_resume()
 
116
  - Foundations in Data Science- PadhAI from One Fourth Labs – May 2021
117
  """)
118
 
119
+ # Add custom CSS to set the background image
120
+ st.markdown(
121
+ f"""
122
+ <style>
123
+ .stApp {{
124
+ background-image: url("data:image/jpg;base64,{base64.b64encode(open("pic.jpg", "rb").read()).decode()}");
125
+ background-size: cover;
126
+ }}
127
+ </style>
128
+ """,
129
+ unsafe_allow_html=True
130
+ )
131
+
132
  if __name__ == "__main__":
133
  display_resume()