Update app.py
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ css = """
|
|
177 |
.image_duplication{position: absolute; width: 100px; left: 50px}
|
178 |
"""
|
179 |
|
180 |
-
block = gr.Blocks(
|
181 |
|
182 |
with block as demo:
|
183 |
gr.HTML(
|
@@ -293,7 +293,7 @@ with block as demo:
|
|
293 |
inputs=[prompt_input, negative,
|
294 |
inf_steps_input, seed_input, guidance_scale],
|
295 |
outputs=[gallery],
|
296 |
-
cache_examples=
|
297 |
ex.dataset.headers = [""]
|
298 |
negative.submit(generate_image, inputs=[
|
299 |
prompt_input, negative, inf_steps_input, seed_input, guidance_scale], outputs=[gallery], postprocess=False)
|
|
|
177 |
.image_duplication{position: absolute; width: 100px; left: 50px}
|
178 |
"""
|
179 |
|
180 |
+
block = gr.Blocks(css=css)
|
181 |
|
182 |
with block as demo:
|
183 |
gr.HTML(
|
|
|
293 |
inputs=[prompt_input, negative,
|
294 |
inf_steps_input, seed_input, guidance_scale],
|
295 |
outputs=[gallery],
|
296 |
+
cache_examples=True)
|
297 |
ex.dataset.headers = [""]
|
298 |
negative.submit(generate_image, inputs=[
|
299 |
prompt_input, negative, inf_steps_input, seed_input, guidance_scale], outputs=[gallery], postprocess=False)
|