Update app.py
Browse files
app.py
CHANGED
|
@@ -282,7 +282,9 @@ If you have any issues, leave the issue in the discussion page of the space. For
|
|
| 282 |
# We have provided some generate examples and comparisons at: [this website]().
|
| 283 |
|
| 284 |
css = '''
|
| 285 |
-
.gradio-container {width: 85% !important
|
|
|
|
|
|
|
| 286 |
'''
|
| 287 |
with gr.Blocks(css=css) as demo:
|
| 288 |
gr.Markdown(logo)
|
|
@@ -308,7 +310,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 308 |
placeholder="A photo of a [man/woman img]...")
|
| 309 |
style = gr.Dropdown(label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
| 310 |
aspect_ratio = gr.Dropdown(label="Output aspect ratio", choices=ASPECT_RATIO_LABELS, value=DEFAULT_ASPECT_RATIO)
|
| 311 |
-
submit = gr.Button("
|
| 312 |
|
| 313 |
enable_doodle = gr.Checkbox(
|
| 314 |
label="Enable Drawing Doodle for Control", value=enable_doodle_arg,
|
|
|
|
| 282 |
# We have provided some generate examples and comparisons at: [this website]().
|
| 283 |
|
| 284 |
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 |
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,
|