Spaces:
Runtime error
Runtime error
add cache to img
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks(css=css) as demo:
|
|
162 |
result_image_2 = gr.Image()
|
163 |
|
164 |
with gr.Row(visible=False) as img_example:
|
165 |
-
gr.Examples(examples=img_to_img_example, inputs=[source_img, prompt_2, inference_steps_2, strength, seed_2, guidance_scale_2], outputs=result_image_2, fn=img2img_generate)
|
166 |
|
167 |
|
168 |
with gr.Box(visible=True) as is_login:
|
|
|
162 |
result_image_2 = gr.Image()
|
163 |
|
164 |
with gr.Row(visible=False) as img_example:
|
165 |
+
gr.Examples(examples=img_to_img_example, inputs=[source_img, prompt_2, inference_steps_2, strength, seed_2, guidance_scale_2], outputs=result_image_2, fn=img2img_generate, cache_examples=True,)
|
166 |
|
167 |
|
168 |
with gr.Box(visible=True) as is_login:
|