Update app.py
Browse files
app.py
CHANGED
|
@@ -285,6 +285,11 @@ css = '''
|
|
| 285 |
.gradio-container {width: 85% !important;
|
| 286 |
background: linear-gradient(135deg, #CCFED9, #95BAFF);
|
| 287 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
'''
|
| 289 |
with gr.Blocks(css=css) as demo:
|
| 290 |
gr.Markdown(logo)
|
|
@@ -310,7 +315,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 310 |
placeholder="A photo of a [man/woman img]...")
|
| 311 |
style = gr.Dropdown(label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
| 312 |
aspect_ratio = gr.Dropdown(label="Output aspect ratio", choices=ASPECT_RATIO_LABELS, value=DEFAULT_ASPECT_RATIO)
|
| 313 |
-
submit = gr.Button("GENERATE")
|
| 314 |
|
| 315 |
enable_doodle = gr.Checkbox(
|
| 316 |
label="Enable Drawing Doodle for Control", value=enable_doodle_arg,
|
|
|
|
| 285 |
.gradio-container {width: 85% !important;
|
| 286 |
background: linear-gradient(135deg, #CCFED9, #95BAFF);
|
| 287 |
}
|
| 288 |
+
|
| 289 |
+
#submit-btn {
|
| 290 |
+
background: #553566 !important; !important;
|
| 291 |
+
color: white !important;
|
| 292 |
+
}
|
| 293 |
'''
|
| 294 |
with gr.Blocks(css=css) as demo:
|
| 295 |
gr.Markdown(logo)
|
|
|
|
| 315 |
placeholder="A photo of a [man/woman img]...")
|
| 316 |
style = gr.Dropdown(label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
| 317 |
aspect_ratio = gr.Dropdown(label="Output aspect ratio", choices=ASPECT_RATIO_LABELS, value=DEFAULT_ASPECT_RATIO)
|
| 318 |
+
submit = gr.Button("GENERATE" , elem_id="generate_btn")
|
| 319 |
|
| 320 |
enable_doodle = gr.Checkbox(
|
| 321 |
label="Enable Drawing Doodle for Control", value=enable_doodle_arg,
|