Spaces:
Paused
Paused
options
Browse files
app.py
CHANGED
@@ -142,14 +142,14 @@ with block:
|
|
142 |
prompt = gr.Textbox(label="Prompt")
|
143 |
run_button = gr.Button(value="Run")
|
144 |
with gr.Accordion("Advanced options", open=False):
|
145 |
-
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
|
146 |
-
image_resolution = gr.Slider(label="Image Resolution", minimum=256, maximum=
|
147 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
148 |
-
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
149 |
-
ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=
|
150 |
scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=1.0, step=0.1)
|
151 |
threshold = gr.Slider(label="segmentation threshold", minimum=0.1, maximum=0.9, value=0.5, step=0.05)
|
152 |
-
seed = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1,
|
153 |
eta = gr.Number(label="eta (DDIM)", value=0.0)
|
154 |
a_prompt = gr.Textbox(label="Added Prompt", value='best quality, extremely detailed')
|
155 |
n_prompt = gr.Textbox(label="Negative Prompt",
|
|
|
142 |
prompt = gr.Textbox(label="Prompt")
|
143 |
run_button = gr.Button(value="Run")
|
144 |
with gr.Accordion("Advanced options", open=False):
|
145 |
+
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1, visible=False)
|
146 |
+
image_resolution = gr.Slider(label="Image Resolution", minimum=256, maximum=512, value=512, step=64)
|
147 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
148 |
+
guess_mode = gr.Checkbox(label='Guess Mode', value=False, visible=False)
|
149 |
+
ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=20, value=20, step=1)
|
150 |
scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=1.0, step=0.1)
|
151 |
threshold = gr.Slider(label="segmentation threshold", minimum=0.1, maximum=0.9, value=0.5, step=0.05)
|
152 |
+
seed = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, value=-1)
|
153 |
eta = gr.Number(label="eta (DDIM)", value=0.0)
|
154 |
a_prompt = gr.Textbox(label="Added Prompt", value='best quality, extremely detailed')
|
155 |
n_prompt = gr.Textbox(label="Negative Prompt",
|