Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,13 +67,22 @@ css="""
|
|
67 |
max-width: 520px;
|
68 |
}
|
69 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
examples = [
|
71 |
"a tiny astronaut hatching from an egg on the moon",
|
72 |
"a cat holding a sign that says hello world",
|
73 |
"an anime illustration of a wiener schnitzel",
|
74 |
]
|
75 |
|
76 |
-
with gr.Blocks(css=css) as demo:
|
77 |
with gr.Column(elem_id="col-container"):
|
78 |
gr.Markdown("# FLUX Dev with Replicate API")
|
79 |
|
|
|
67 |
max-width: 520px;
|
68 |
}
|
69 |
"""
|
70 |
+
|
71 |
+
theme = gr.themes.Default().set(
|
72 |
+
button_secondary_background_fill='*primary_200',
|
73 |
+
button_secondary_background_fill_hover='*primary_200',
|
74 |
+
button_secondary_border_color='*primary_100',
|
75 |
+
button_secondary_text_color='*button_primary_text_color'
|
76 |
+
)
|
77 |
+
|
78 |
+
|
79 |
examples = [
|
80 |
"a tiny astronaut hatching from an egg on the moon",
|
81 |
"a cat holding a sign that says hello world",
|
82 |
"an anime illustration of a wiener schnitzel",
|
83 |
]
|
84 |
|
85 |
+
with gr.Blocks(css=css, theme = theme) as demo:
|
86 |
with gr.Column(elem_id="col-container"):
|
87 |
gr.Markdown("# FLUX Dev with Replicate API")
|
88 |
|