Update pages/4_Model_Creation_and_Evaluation.py
Browse files
pages/4_Model_Creation_and_Evaluation.py
CHANGED
|
@@ -169,17 +169,19 @@ if df is not None:
|
|
| 169 |
|
| 170 |
else:
|
| 171 |
st.warning("No Dataset Found")
|
| 172 |
-
|
| 173 |
|
| 174 |
# Custom background styling
|
| 175 |
st.markdown(
|
| 176 |
"""
|
| 177 |
<style>
|
| 178 |
-
.stApp {
|
| 179 |
-
background-image: url("
|
| 180 |
-
background-size:
|
| 181 |
-
background-
|
| 182 |
-
|
|
|
|
|
|
|
| 183 |
.stApp::before {
|
| 184 |
content: "";
|
| 185 |
position: absolute;
|
|
|
|
| 169 |
|
| 170 |
else:
|
| 171 |
st.warning("No Dataset Found")
|
| 172 |
+
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/67441c51a784a9d15cb12871/7ZCmkouk1pS37_kREZmYJ.jpeg"
|
| 173 |
|
| 174 |
# Custom background styling
|
| 175 |
st.markdown(
|
| 176 |
"""
|
| 177 |
<style>
|
| 178 |
+
.stApp {{
|
| 179 |
+
background-image: url("{background_image_url}");
|
| 180 |
+
background-size: auto; /* Ensures the image retains its original size */
|
| 181 |
+
background-repeat: repeat; /* Makes the image repeat to cover the entire background */
|
| 182 |
+
background-position: top left; /* Starts repeating from the top-left corner */
|
| 183 |
+
background-attachment: fixed; /* Keeps the background fixed as you scroll */
|
| 184 |
+
}}
|
| 185 |
.stApp::before {
|
| 186 |
content: "";
|
| 187 |
position: absolute;
|