Update app.py
Browse files
app.py
CHANGED
@@ -279,10 +279,10 @@ with block as demo:
|
|
279 |
# advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
280 |
ex = gr.Examples(examples=examples,
|
281 |
fn=generate_image,
|
282 |
-
inputs=[prompt_input, negative,
|
283 |
-
inf_steps_input, seed_input, guidance_scale],
|
284 |
outputs=[gallery],
|
285 |
-
cache_examples=
|
|
|
286 |
ex.dataset.headers = [""]
|
287 |
|
288 |
share_button = gr.Button("Share to community",elem_classes="share_button")
|
|
|
279 |
# advanced_button = gr.Button("Advanced options", elem_id="advanced-btn")
|
280 |
ex = gr.Examples(examples=examples,
|
281 |
fn=generate_image,
|
282 |
+
inputs=[prompt_input, negative,inf_steps_input, seed_input, guidance_scale],
|
|
|
283 |
outputs=[gallery],
|
284 |
+
cache_examples=True,
|
285 |
+
post_process=False)
|
286 |
ex.dataset.headers = [""]
|
287 |
|
288 |
share_button = gr.Button("Share to community",elem_classes="share_button")
|