Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ with gr.Blocks(css=css) as demo:
|
|
122 |
container=False,
|
123 |
)
|
124 |
run_button = gr.Button("Run", scale=0)
|
125 |
-
result = gr.Gallery(label="Result", columns=
|
126 |
with gr.Accordion("Advanced options", open=False):
|
127 |
num_images = gr.Slider(
|
128 |
label="Number of Images",
|
@@ -185,6 +185,7 @@ with gr.Blocks(css=css) as demo:
|
|
185 |
inputs=prompt,
|
186 |
outputs=[result, seed],
|
187 |
fn=generate,
|
|
|
188 |
)
|
189 |
|
190 |
use_negative_prompt.change(
|
|
|
122 |
container=False,
|
123 |
)
|
124 |
run_button = gr.Button("Run", scale=0)
|
125 |
+
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
126 |
with gr.Accordion("Advanced options", open=False):
|
127 |
num_images = gr.Slider(
|
128 |
label="Number of Images",
|
|
|
185 |
inputs=prompt,
|
186 |
outputs=[result, seed],
|
187 |
fn=generate,
|
188 |
+
cache_examples=True
|
189 |
)
|
190 |
|
191 |
use_negative_prompt.change(
|