LPX55 commited on
Commit
6c41233
·
verified ·
1 Parent(s): 3409aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -57,6 +57,7 @@ pipe = FluxControlNetPipeline.from_pretrained(
57
  pipe.to(device)
58
  MAX_SEED = 1000000
59
  MAX_PIXEL_BUDGET = 2048 * 2048
 
60
 
61
 
62
  def process_input(input_image, upscale_factor, **kwargs):
 
57
  pipe.to(device)
58
  MAX_SEED = 1000000
59
  MAX_PIXEL_BUDGET = 2048 * 2048
60
+ torch.cuda.empty_cache()
61
 
62
 
63
  def process_input(input_image, upscale_factor, **kwargs):