Spaces:
Runtime error
Runtime error
reduce num samples
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def create_app_demo():
|
|
141 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
142 |
|
143 |
with gr.Accordion("Advanced options", open=False):
|
144 |
-
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=
|
145 |
image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
146 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
147 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
@@ -235,7 +235,7 @@ def create_add_obj_demo():
|
|
235 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
236 |
|
237 |
with gr.Accordion("Advanced options", open=False):
|
238 |
-
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=
|
239 |
# image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
240 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
241 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
@@ -315,7 +315,7 @@ def create_obj_variation_demo():
|
|
315 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
316 |
|
317 |
with gr.Accordion("Advanced options", open=False):
|
318 |
-
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=
|
319 |
# image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
320 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
321 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
@@ -406,7 +406,7 @@ def create_free_form_obj_variation_demo():
|
|
406 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
407 |
|
408 |
with gr.Accordion("Advanced options", open=False):
|
409 |
-
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=
|
410 |
# image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
411 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
412 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
|
|
141 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
142 |
|
143 |
with gr.Accordion("Advanced options", open=False):
|
144 |
+
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
|
145 |
image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
146 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
147 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
|
|
235 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
236 |
|
237 |
with gr.Accordion("Advanced options", open=False):
|
238 |
+
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=1)
|
239 |
# image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
240 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
241 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
|
|
315 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
316 |
|
317 |
with gr.Accordion("Advanced options", open=False):
|
318 |
+
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=2)
|
319 |
# image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
320 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
321 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|
|
|
406 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=4, height='auto')
|
407 |
|
408 |
with gr.Accordion("Advanced options", open=False):
|
409 |
+
num_samples = gr.Slider(label="Images", minimum=1, maximum=12, value=1, step=2)
|
410 |
# image_resolution = gr.Slider(label="Image Resolution", minimum=512, maximum=512, value=512, step=64)
|
411 |
strength = gr.Slider(label="Control Strength", minimum=0.0, maximum=2.0, value=1.0, step=0.01)
|
412 |
guess_mode = gr.Checkbox(label='Guess Mode', value=False)
|