Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -216,7 +216,37 @@ def social_channel_launch(request: gr.Request, channel, hashtags, checkbox_value
|
|
| 216 |
# -------------------------------
|
| 217 |
# UI
|
| 218 |
# -------------------------------
|
| 219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
# Persistent warning banner
|
| 221 |
limit_banner = gr.Markdown("", visible=False)
|
| 222 |
|
|
|
|
| 216 |
# -------------------------------
|
| 217 |
# UI
|
| 218 |
# -------------------------------
|
| 219 |
+
CSS = """
|
| 220 |
+
body {
|
| 221 |
+
background-color: black !important;
|
| 222 |
+
color: white !important;
|
| 223 |
+
}
|
| 224 |
+
.gradio-container {
|
| 225 |
+
background-color: black !important;
|
| 226 |
+
color: white !important;
|
| 227 |
+
}
|
| 228 |
+
.gr-text-input, .gr-dropdown, .gr-button {
|
| 229 |
+
color: white !important;
|
| 230 |
+
background-color: #222 !important;
|
| 231 |
+
border-color: #555 !important;
|
| 232 |
+
}
|
| 233 |
+
.gr-button {
|
| 234 |
+
box-shadow: 0 0 5px #00f, 0 0 10px #00f, 0 0 15px #00f;
|
| 235 |
+
transition: box-shadow 0.3s ease-in-out;
|
| 236 |
+
}
|
| 237 |
+
.gr-button:hover {
|
| 238 |
+
box-shadow: 0 0 10px #00f, 0 0 20px #00f, 0 0 30px #00f;
|
| 239 |
+
}
|
| 240 |
+
.gr-checkbox, .gr-checkbox-group {
|
| 241 |
+
color: white !important;
|
| 242 |
+
}
|
| 243 |
+
.gradio-container h1, .gradio-container h2, .gradio-container label, .gradio-container p {
|
| 244 |
+
color: white !important;
|
| 245 |
+
text-shadow: 0 0 5px #00f, 0 0 10px #00f, 0 0 15px #00f;
|
| 246 |
+
}
|
| 247 |
+
"""
|
| 248 |
+
|
| 249 |
+
with gr.Blocks(css=CSS) as demo:
|
| 250 |
# Persistent warning banner
|
| 251 |
limit_banner = gr.Markdown("", visible=False)
|
| 252 |
|