Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
93e7c56
1
Parent(s):
109e94b
Update app.py
Browse files
app.py
CHANGED
@@ -698,14 +698,14 @@ with gr.Blocks(css="style.css") as demo:
|
|
698 |
with gr.Column(min_width=100):
|
699 |
clear_button = gr.Button("Clear", visible=True)
|
700 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
|
701 |
-
steps = gr.Number(value=
|
702 |
src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
|
703 |
mask_type = gr.Radio(choices=["No mask", "Cross Attention Mask", "Intersect Mask"], value="Intersect Mask", label="Mask type")
|
704 |
|
705 |
with gr.Column(min_width=100):
|
706 |
reconstruct_button = gr.Button("Show Reconstruction", visible=False)
|
707 |
-
skip = gr.Slider(minimum=0, maximum=
|
708 |
-
tar_cfg_scale = gr.Slider(minimum=1, maximum=30,value=
|
709 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
710 |
randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
|
711 |
|
|
|
698 |
with gr.Column(min_width=100):
|
699 |
clear_button = gr.Button("Clear", visible=True)
|
700 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
|
701 |
+
steps = gr.Number(value=50, precision=0, label="Num Diffusion Steps", interactive=True)
|
702 |
src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
|
703 |
mask_type = gr.Radio(choices=["No mask", "Cross Attention Mask", "Intersect Mask"], value="Intersect Mask", label="Mask type")
|
704 |
|
705 |
with gr.Column(min_width=100):
|
706 |
reconstruct_button = gr.Button("Show Reconstruction", visible=False)
|
707 |
+
skip = gr.Slider(minimum=0, maximum=95, value=25, step=1, label="Skip Steps", interactive=True, info = "Percentage of skipped denoising steps. Bigger values increase fidelity to input image")
|
708 |
+
tar_cfg_scale = gr.Slider(minimum=1, maximum=30,value=7.5, label=f"Guidance Scale", interactive=True)
|
709 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
710 |
randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
|
711 |
|