Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -126,17 +126,17 @@ with gr.Blocks() as app:
|
|
126 |
app.css = """
|
127 |
body {
|
128 |
font-family: Arial, sans-serif;
|
129 |
-
background
|
|
|
|
|
130 |
}
|
131 |
|
132 |
.gradio-container {
|
133 |
max-width: 800px;
|
134 |
margin: 0 auto;
|
135 |
padding: 20px;
|
136 |
-
background:
|
137 |
-
background-size: cover; /* Adjusts to cover the entire container */
|
138 |
border-radius: 10px;
|
139 |
-
color: #ffffff;
|
140 |
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
|
141 |
}
|
142 |
|
|
|
126 |
app.css = """
|
127 |
body {
|
128 |
font-family: Arial, sans-serif;
|
129 |
+
background: url('./background.png') no-repeat center center fixed;
|
130 |
+
background-size: cover;
|
131 |
+
color: #ffffff;
|
132 |
}
|
133 |
|
134 |
.gradio-container {
|
135 |
max-width: 800px;
|
136 |
margin: 0 auto;
|
137 |
padding: 20px;
|
138 |
+
background: rgba(34, 34, 34, 0.9); /* Slight transparency to see the background */
|
|
|
139 |
border-radius: 10px;
|
|
|
140 |
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
|
141 |
}
|
142 |
|