Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,6 +180,14 @@ CSS="""
|
|
| 180 |
.gallery-container{
|
| 181 |
max-height: 512px;
|
| 182 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
</style>
|
| 184 |
"""
|
| 185 |
|
|
@@ -201,7 +209,7 @@ with gr.Blocks(head=CSS + JS) as demo:
|
|
| 201 |
seed_rand = gr.Button("Randomize Seed 🎲", size="sm", variant="secondary")
|
| 202 |
seed_rand.click(randomize_seed, None, [seed], queue=False)
|
| 203 |
with gr.Row():
|
| 204 |
-
gen_button = gr.Button(f'Generate up to {int(num_models)} images', variant='primary', scale=3)
|
| 205 |
random_button = gr.Button(f'Randomize Models', variant='secondary', scale=1)
|
| 206 |
|
| 207 |
with gr.Column(scale=1):
|
|
|
|
| 180 |
.gallery-container{
|
| 181 |
max-height: 512px;
|
| 182 |
}
|
| 183 |
+
|
| 184 |
+
.butt{
|
| 185 |
+
background-color:blue !important;
|
| 186 |
+
}
|
| 187 |
+
.butt:hover{
|
| 188 |
+
background-color:cyan !important;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
</style>
|
| 192 |
"""
|
| 193 |
|
|
|
|
| 209 |
seed_rand = gr.Button("Randomize Seed 🎲", size="sm", variant="secondary")
|
| 210 |
seed_rand.click(randomize_seed, None, [seed], queue=False)
|
| 211 |
with gr.Row():
|
| 212 |
+
gen_button = gr.Button(f'Generate up to {int(num_models)} images', variant='primary', scale=3, elem_classes=["butt"])
|
| 213 |
random_button = gr.Button(f'Randomize Models', variant='secondary', scale=1)
|
| 214 |
|
| 215 |
with gr.Column(scale=1):
|