kadirnar commited on
Commit
9e4d640
1 Parent(s): 01a2879

Update utils_app.py

Browse files
Files changed (1) hide show
  1. utils_app.py +1 -0
utils_app.py CHANGED
@@ -45,6 +45,7 @@ def keras_stable_diffusion(
45
  num_steps=num_inference_step,
46
  unconditional_guidance_scale=guidance_scale
47
  )
 
48
 
49
  return generated_images
50
 
 
45
  num_steps=num_inference_step,
46
  unconditional_guidance_scale=guidance_scale
47
  )
48
+ tf.keras.backend.clear_session()
49
 
50
  return generated_images
51