Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -125,10 +125,9 @@ with block:
|
|
125 |
controlnet_conditioning_scale = gr.Slider(label="ControlNet conditioning scale", minimum=0.1, maximum=2.0, value=1.0, step=0.05)
|
126 |
seed = gr.Slider(label="Seed", minimum=0, maximum=2147483647, step=1, randomize=True,)
|
127 |
run_button = gr.Button(value="Run")
|
128 |
-
|
129 |
-
|
130 |
with gr.Column():
|
131 |
-
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", columns=[
|
132 |
ips = [input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed]
|
133 |
run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
|
134 |
|
|
|
125 |
controlnet_conditioning_scale = gr.Slider(label="ControlNet conditioning scale", minimum=0.1, maximum=2.0, value=1.0, step=0.05)
|
126 |
seed = gr.Slider(label="Seed", minimum=0, maximum=2147483647, step=1, randomize=True,)
|
127 |
run_button = gr.Button(value="Run")
|
128 |
+
|
|
|
129 |
with gr.Column():
|
130 |
+
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", columns=[1], height='auto')
|
131 |
ips = [input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed]
|
132 |
run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
|
133 |
|