Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
# Inject custom CSS for background and
|
| 4 |
st.markdown(
|
| 5 |
f"""
|
| 6 |
<style>
|
| 7 |
-
/* General background with gradient and image overlay */
|
| 8 |
html, body, [data-testid="stAppViewContainer"] {{
|
| 9 |
background-image:
|
| 10 |
linear-gradient(
|
|
@@ -19,6 +19,7 @@ st.markdown(
|
|
| 19 |
url("https://huggingface.co/spaces/tahirsher/wellbeing_GenAI/blob/main/1.png");
|
| 20 |
background-size: cover;
|
| 21 |
background-blend-mode: overlay;
|
|
|
|
| 22 |
font-family: 'Arial', sans-serif;
|
| 23 |
}}
|
| 24 |
/* Header slide-right animation */
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
# Inject custom CSS for background with your image and gradient
|
| 4 |
st.markdown(
|
| 5 |
f"""
|
| 6 |
<style>
|
| 7 |
+
/* General background with gradient and your image overlay */
|
| 8 |
html, body, [data-testid="stAppViewContainer"] {{
|
| 9 |
background-image:
|
| 10 |
linear-gradient(
|
|
|
|
| 19 |
url("https://huggingface.co/spaces/tahirsher/wellbeing_GenAI/blob/main/1.png");
|
| 20 |
background-size: cover;
|
| 21 |
background-blend-mode: overlay;
|
| 22 |
+
background-position: center;
|
| 23 |
font-family: 'Arial', sans-serif;
|
| 24 |
}}
|
| 25 |
/* Header slide-right animation */
|