Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -244,6 +244,7 @@ def app_gradio():
|
|
| 244 |
transition: all 0.3s ease;
|
| 245 |
border: none;
|
| 246 |
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
|
|
| 247 |
}
|
| 248 |
button.primary-btn:hover {
|
| 249 |
transform: translateY(-2px);
|
|
@@ -251,7 +252,7 @@ def app_gradio():
|
|
| 251 |
}
|
| 252 |
.gr-button {
|
| 253 |
background: linear-gradient(135deg, #2541b2 0%, #1a237e 100%);
|
| 254 |
-
color: white;
|
| 255 |
border: none;
|
| 256 |
transition: all 0.3s ease;
|
| 257 |
}
|
|
@@ -280,6 +281,13 @@ def app_gradio():
|
|
| 280 |
border-radius: 8px;
|
| 281 |
overflow: hidden;
|
| 282 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
"""
|
| 284 |
|
| 285 |
with gr.Blocks(title="Deradh Virtual Try-On", css=custom_css) as demo:
|
|
|
|
| 244 |
transition: all 0.3s ease;
|
| 245 |
border: none;
|
| 246 |
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 247 |
+
color: white !important;
|
| 248 |
}
|
| 249 |
button.primary-btn:hover {
|
| 250 |
transform: translateY(-2px);
|
|
|
|
| 252 |
}
|
| 253 |
.gr-button {
|
| 254 |
background: linear-gradient(135deg, #2541b2 0%, #1a237e 100%);
|
| 255 |
+
color: white !important;
|
| 256 |
border: none;
|
| 257 |
transition: all 0.3s ease;
|
| 258 |
}
|
|
|
|
| 281 |
border-radius: 8px;
|
| 282 |
overflow: hidden;
|
| 283 |
}
|
| 284 |
+
/* Force white text in buttons */
|
| 285 |
+
button.primary-btn span {
|
| 286 |
+
color: white !important;
|
| 287 |
+
}
|
| 288 |
+
.gr-button span {
|
| 289 |
+
color: white !important;
|
| 290 |
+
}
|
| 291 |
"""
|
| 292 |
|
| 293 |
with gr.Blocks(title="Deradh Virtual Try-On", css=custom_css) as demo:
|