Update app.py
Browse files
app.py
CHANGED
|
@@ -251,7 +251,7 @@ with block as demo:
|
|
| 251 |
inf_steps_input, seed_input, guidance_scale],
|
| 252 |
outputs=[gallery, community_icon,
|
| 253 |
loading_icon, share_button],
|
| 254 |
-
cache_examples=
|
| 255 |
ex.dataset.headers = [""]
|
| 256 |
negative.submit(generate_image, inputs=[
|
| 257 |
prompt_input, negative, inf_steps_input, seed_input, guidance_scale], outputs=[gallery], postprocess=False)
|
|
|
|
| 251 |
inf_steps_input, seed_input, guidance_scale],
|
| 252 |
outputs=[gallery, community_icon,
|
| 253 |
loading_icon, share_button],
|
| 254 |
+
cache_examples=True)
|
| 255 |
ex.dataset.headers = [""]
|
| 256 |
negative.submit(generate_image, inputs=[
|
| 257 |
prompt_input, negative, inf_steps_input, seed_input, guidance_scale], outputs=[gallery], postprocess=False)
|