Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -421,15 +421,14 @@ def add_text_to_scenes(gallery_images, prompts_text):
|
|
421 |
return overlaid_images, output_files
|
422 |
|
423 |
def create_interface():
|
424 |
-
theme = gr.themes.Soft(
|
425 |
-
|
426 |
-
secondary_hue="red",
|
427 |
-
neutral_hue="gray"
|
428 |
-
).set(
|
429 |
button_primary_background_fill="rgb(173, 216, 230)", # light blue
|
430 |
button_secondary_background_fill="rgb(255, 182, 193)", # light red
|
431 |
-
|
432 |
-
|
|
|
|
|
433 |
)
|
434 |
|
435 |
with gr.Blocks(theme=theme) as demo:
|
|
|
421 |
return overlaid_images, output_files
|
422 |
|
423 |
def create_interface():
|
424 |
+
theme = gr.themes.Soft().set(
|
425 |
+
body_background_fill="*primary_50",
|
|
|
|
|
|
|
426 |
button_primary_background_fill="rgb(173, 216, 230)", # light blue
|
427 |
button_secondary_background_fill="rgb(255, 182, 193)", # light red
|
428 |
+
button_primary_background_fill_hover="rgb(135, 206, 235)", # slightly darker blue for hover
|
429 |
+
button_secondary_background_fill_hover="rgb(255, 160, 180)", # slightly darker red for hover
|
430 |
+
block_title_text_color="*primary_500",
|
431 |
+
block_label_text_color="*secondary_500",
|
432 |
)
|
433 |
|
434 |
with gr.Blocks(theme=theme) as demo:
|