xco2 commited on
Commit
cc62cdb
·
verified ·
1 Parent(s): 705238e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -547,7 +547,7 @@ def init_webui(unet, vae, normal_t):
547
  inputs=[step_u, batch_size_u, sampler_name_u, img_size_u, ramdom_seed_u],
548
  outputs=output_images_u,
549
  fn=process_image_u,
550
- cache_examples=True,
551
  )
552
  with gr.Tab(label="image to image"):
553
  with gr.Column():
@@ -575,7 +575,7 @@ def init_webui(unet, vae, normal_t):
575
  inputs=[input_image, noise_step, step, batch_size, sampler_name, img_size, ramdom_seed],
576
  outputs=output_images,
577
  fn=process_image,
578
- cache_examples=True,
579
  )
580
 
581
  start_button.click(process_image,
 
547
  inputs=[step_u, batch_size_u, sampler_name_u, img_size_u, ramdom_seed_u],
548
  outputs=output_images_u,
549
  fn=process_image_u,
550
+ cache_examples=False,
551
  )
552
  with gr.Tab(label="image to image"):
553
  with gr.Column():
 
575
  inputs=[input_image, noise_step, step, batch_size, sampler_name, img_size, ramdom_seed],
576
  outputs=output_images,
577
  fn=process_image,
578
+ cache_examples=False,
579
  )
580
 
581
  start_button.click(process_image,