Spaces:
Runtime error
Runtime error
Update utils_app.py
Browse files- 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 |
|