Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -479,6 +479,11 @@ with gr.Blocks(css=css) as demo:
|
|
| 479 |
placeholder="A photo of a person",
|
| 480 |
value="",
|
| 481 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 482 |
|
| 483 |
submit = gr.Button("Submit", variant="primary")
|
| 484 |
with gr.Accordion("Advanced options", open=False):
|
|
@@ -486,11 +491,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 486 |
label="Enable Fast Inference with LCM", value=enable_lcm_arg,
|
| 487 |
info="LCM speeds up the inference step, the trade-off is the quality of the generated image. It performs better with portrait face images rather than distant faces",
|
| 488 |
)
|
| 489 |
-
style = gr.Dropdown(
|
| 490 |
-
label="Style template",
|
| 491 |
-
choices=STYLE_NAMES,
|
| 492 |
-
value=DEFAULT_STYLE_NAME,
|
| 493 |
-
)
|
| 494 |
|
| 495 |
# strength
|
| 496 |
identitynet_strength_ratio = gr.Slider(
|
|
|
|
| 479 |
placeholder="A photo of a person",
|
| 480 |
value="",
|
| 481 |
)
|
| 482 |
+
style = gr.Dropdown(
|
| 483 |
+
label="Style template",
|
| 484 |
+
choices=STYLE_NAMES,
|
| 485 |
+
value=DEFAULT_STYLE_NAME,
|
| 486 |
+
)
|
| 487 |
|
| 488 |
submit = gr.Button("Submit", variant="primary")
|
| 489 |
with gr.Accordion("Advanced options", open=False):
|
|
|
|
| 491 |
label="Enable Fast Inference with LCM", value=enable_lcm_arg,
|
| 492 |
info="LCM speeds up the inference step, the trade-off is the quality of the generated image. It performs better with portrait face images rather than distant faces",
|
| 493 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 494 |
|
| 495 |
# strength
|
| 496 |
identitynet_strength_ratio = gr.Slider(
|