Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,16 +88,16 @@ winter_theme = gr.themes.Soft(
|
|
| 88 |
button_primary_text_color="#000000",
|
| 89 |
)
|
| 90 |
|
| 91 |
-
# --- UPDATED CSS ---
|
| 92 |
-
#
|
| 93 |
custom_css = """
|
| 94 |
-
/* 1. APPLY BACKGROUND TO BODY
|
| 95 |
body {
|
| 96 |
-
background: url('
|
| 97 |
background-size: cover !important;
|
| 98 |
}
|
| 99 |
|
| 100 |
-
/* 2. Make the Gradio Container TRANSPARENT
|
| 101 |
.gradio-container {
|
| 102 |
background: transparent !important;
|
| 103 |
background-color: transparent !important;
|
|
|
|
| 88 |
button_primary_text_color="#000000",
|
| 89 |
)
|
| 90 |
|
| 91 |
+
# --- UPDATED CSS FOR LOCAL IMAGE ---
|
| 92 |
+
# We use the filename directly since it's in the same folder as app.py
|
| 93 |
custom_css = """
|
| 94 |
+
/* 1. APPLY LOCAL BACKGROUND TO BODY */
|
| 95 |
body {
|
| 96 |
+
background: url('Cute-Christmas-Background-edit-online-1.jpg') no-repeat center center fixed !important;
|
| 97 |
background-size: cover !important;
|
| 98 |
}
|
| 99 |
|
| 100 |
+
/* 2. Make the Gradio Container TRANSPARENT */
|
| 101 |
.gradio-container {
|
| 102 |
background: transparent !important;
|
| 103 |
background-color: transparent !important;
|