Spaces:
Sleeping
Sleeping
ruthvik7382
commited on
Commit
β’
62ebce7
1
Parent(s):
7f6ba37
Update app.py
Browse files
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()
|