Saad0KH commited on
Commit
157450c
1 Parent(s): bb13100

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,