Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -237,17 +237,19 @@ def generate_random_voyeur_prompts(num: int = 5):
|
|
| 237 |
return prompts
|
| 238 |
|
| 239 |
# ============================================
|
| 240 |
-
# TEMA OSCURO M脥NIMO PARA GRADIO
|
| 241 |
# ============================================
|
| 242 |
|
| 243 |
-
dark_theme = gr.themes.Soft(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
background_fill_primary_dark="#111111",
|
| 245 |
background_fill_secondary="#1e1e1e",
|
| 246 |
block_background_fill="#1e1e1e",
|
| 247 |
block_title_text_color="white",
|
| 248 |
-
block_label_text_color="white",
|
| 249 |
block_label_background_fill="#2d2d2d",
|
| 250 |
-
text_color="white",
|
| 251 |
input_background_fill="#2d2d2d",
|
| 252 |
button_primary_background_fill="#4a4a4a",
|
| 253 |
button_primary_text_color="white",
|
|
@@ -343,6 +345,6 @@ if __name__ == "__main__":
|
|
| 343 |
app.launch(
|
| 344 |
server_name="0.0.0.0",
|
| 345 |
server_port=7860,
|
| 346 |
-
share=False,
|
| 347 |
show_error=True
|
| 348 |
)
|
|
|
|
| 237 |
return prompts
|
| 238 |
|
| 239 |
# ============================================
|
| 240 |
+
# TEMA OSCURO M脥NIMO PARA GRADIO (versi贸n simplificada)
|
| 241 |
# ============================================
|
| 242 |
|
| 243 |
+
dark_theme = gr.themes.Soft(
|
| 244 |
+
primary_hue=gr.themes.colors.neutral,
|
| 245 |
+
secondary_hue=gr.themes.colors.neutral,
|
| 246 |
+
neutral_hue=gr.themes.colors.gray,
|
| 247 |
+
).set(
|
| 248 |
background_fill_primary_dark="#111111",
|
| 249 |
background_fill_secondary="#1e1e1e",
|
| 250 |
block_background_fill="#1e1e1e",
|
| 251 |
block_title_text_color="white",
|
|
|
|
| 252 |
block_label_background_fill="#2d2d2d",
|
|
|
|
| 253 |
input_background_fill="#2d2d2d",
|
| 254 |
button_primary_background_fill="#4a4a4a",
|
| 255 |
button_primary_text_color="white",
|
|
|
|
| 345 |
app.launch(
|
| 346 |
server_name="0.0.0.0",
|
| 347 |
server_port=7860,
|
| 348 |
+
share=False,
|
| 349 |
show_error=True
|
| 350 |
)
|