Spaces:
Build error
Build error
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()
|