Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
693cffc
1
Parent(s):
8d134d1
Update app.py
Browse files
app.py
CHANGED
@@ -599,7 +599,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
599 |
with gr.TabItem('General options', id=2):
|
600 |
with gr.Row():
|
601 |
with gr.Column(min_width=100):
|
602 |
-
clear_button = gr.Button("Clear", visible=
|
603 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
|
604 |
steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
|
605 |
src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
|
@@ -785,7 +785,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
785 |
"", DEFAULT_SKIP_STEPS, DEFAULT_TARGET_GUIDANCE_SCALE, reconstruct_button.update(value="Show Reconstruction"),reconstruct_button.update(visible=False),
|
786 |
"", DEFAULT_SEGA_CONCEPT_GUIDANCE_SCALE,guidnace_scale_1.update(visible=False), DEFAULT_WARMUP_STEPS, DEFAULT_THRESHOLD, DEFAULT_NEGATIVE_GUIDANCE, "custom","", concept_1.update(visible=False), row1.update(visible=True),
|
787 |
"", DEFAULT_SEGA_CONCEPT_GUIDANCE_SCALE,guidnace_scale_2.update(visible=False), DEFAULT_WARMUP_STEPS, DEFAULT_THRESHOLD, DEFAULT_NEGATIVE_GUIDANCE, "custom","", concept_2.update(visible=False), row2.update(visible=False),
|
788 |
-
"", DEFAULT_SEGA_CONCEPT_GUIDANCE_SCALE,guidnace_scale_3.update(visible=False), DEFAULT_WARMUP_STEPS, DEFAULT_THRESHOLD, DEFAULT_NEGATIVE_GUIDANCE, "custom","",concept_3.update(visible=False), row3.update(visible=False), row4.update(visible=False), gr.
|
789 |
box1.update(visible=False), box2.update(visible=False), box3.update(visible=False)]
|
790 |
|
791 |
|
|
|
599 |
with gr.TabItem('General options', id=2):
|
600 |
with gr.Row():
|
601 |
with gr.Column(min_width=100):
|
602 |
+
clear_button = gr.Button("Clear", visible=True)
|
603 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
|
604 |
steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
|
605 |
src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
|
|
|
785 |
"", DEFAULT_SKIP_STEPS, DEFAULT_TARGET_GUIDANCE_SCALE, reconstruct_button.update(value="Show Reconstruction"),reconstruct_button.update(visible=False),
|
786 |
"", DEFAULT_SEGA_CONCEPT_GUIDANCE_SCALE,guidnace_scale_1.update(visible=False), DEFAULT_WARMUP_STEPS, DEFAULT_THRESHOLD, DEFAULT_NEGATIVE_GUIDANCE, "custom","", concept_1.update(visible=False), row1.update(visible=True),
|
787 |
"", DEFAULT_SEGA_CONCEPT_GUIDANCE_SCALE,guidnace_scale_2.update(visible=False), DEFAULT_WARMUP_STEPS, DEFAULT_THRESHOLD, DEFAULT_NEGATIVE_GUIDANCE, "custom","", concept_2.update(visible=False), row2.update(visible=False),
|
788 |
+
"", DEFAULT_SEGA_CONCEPT_GUIDANCE_SCALE,guidnace_scale_3.update(visible=False), DEFAULT_WARMUP_STEPS, DEFAULT_THRESHOLD, DEFAULT_NEGATIVE_GUIDANCE, "custom","",concept_3.update(visible=False), row3.update(visible=False), row4.update(visible=False), gr.update(value=0),
|
789 |
box1.update(visible=False), box2.update(visible=False), box3.update(visible=False)]
|
790 |
|
791 |
|