Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -331,7 +331,8 @@ with gr.Blocks(css="style.css", theme="NoCrypt/miku@1.2.1") as demo:
|
|
331 |
minimum=0.05,
|
332 |
maximum=1,
|
333 |
step=0.05,
|
334 |
-
value=0.65
|
|
|
335 |
)
|
336 |
with gr.Accordion(label="Quality Tags", open=True):
|
337 |
add_quality_tags = gr.Checkbox(
|
@@ -449,9 +450,9 @@ with gr.Blocks(css="style.css", theme="NoCrypt/miku@1.2.1") as demo:
|
|
449 |
api_name=False,
|
450 |
)
|
451 |
isImg2Img.change(
|
452 |
-
fn=lambda x: gr.update(visible=x),
|
453 |
inputs=isImg2Img,
|
454 |
-
outputs=image,
|
455 |
queue=False,
|
456 |
api_name=False,
|
457 |
)
|
|
|
331 |
minimum=0.05,
|
332 |
maximum=1,
|
333 |
step=0.05,
|
334 |
+
value=0.65,
|
335 |
+
label="Strength"
|
336 |
)
|
337 |
with gr.Accordion(label="Quality Tags", open=True):
|
338 |
add_quality_tags = gr.Checkbox(
|
|
|
450 |
api_name=False,
|
451 |
)
|
452 |
isImg2Img.change(
|
453 |
+
fn=lambda x: [gr.update(visible=x), gr.update(visible=x)],
|
454 |
inputs=isImg2Img,
|
455 |
+
outputs=[image, img2img_strength],
|
456 |
queue=False,
|
457 |
api_name=False,
|
458 |
)
|