Spaces:
Running
on
Zero
Running
on
Zero
Boboiazumi
commited on
Commit
•
936b5ea
1
Parent(s):
2cc3fd1
Update app.py
Browse files
app.py
CHANGED
@@ -325,20 +325,21 @@ with gr.Blocks(css="style.css", theme="NoCrypt/[email protected]") as demo:
|
|
325 |
isImg2Img = gr.Checkbox(
|
326 |
label="Img2Img", value=False
|
327 |
)
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
|
|
342 |
with gr.Accordion(label="Quality Tags", open=True):
|
343 |
add_quality_tags = gr.Checkbox(
|
344 |
label="Add Quality Tags", value=True
|
|
|
325 |
isImg2Img = gr.Checkbox(
|
326 |
label="Img2Img", value=False
|
327 |
)
|
328 |
+
with gr.Accordion(label="Img2Img", open=False):
|
329 |
+
image = gr.Image(
|
330 |
+
sources=["upload", "webcam", "clipboard"],
|
331 |
+
type="filepath",
|
332 |
+
#visible=False,
|
333 |
+
label="Choose Image",
|
334 |
+
)
|
335 |
+
img2img_strength = gr.Slider(
|
336 |
+
minimum=0.05,
|
337 |
+
maximum=1,
|
338 |
+
step=0.05,
|
339 |
+
value=0.65,
|
340 |
+
label="Strength",
|
341 |
+
#visible=False
|
342 |
+
)
|
343 |
with gr.Accordion(label="Quality Tags", open=True):
|
344 |
add_quality_tags = gr.Checkbox(
|
345 |
label="Add Quality Tags", value=True
|