Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ def run():
|
|
| 104 |
num_images_per_prompt = data['num_images_per_prompt']
|
| 105 |
width = data['width'] if 'width' in data else 512 # Default width
|
| 106 |
height = data['height'] if 'height' in data else 512 # Default height
|
| 107 |
-
clear_gpu_memory()
|
| 108 |
result = generate(
|
| 109 |
prompt,
|
| 110 |
negative_prompt,
|
|
|
|
| 104 |
num_images_per_prompt = data['num_images_per_prompt']
|
| 105 |
width = data['width'] if 'width' in data else 512 # Default width
|
| 106 |
height = data['height'] if 'height' in data else 512 # Default height
|
| 107 |
+
#clear_gpu_memory()
|
| 108 |
result = generate(
|
| 109 |
prompt,
|
| 110 |
negative_prompt,
|