Vijish commited on
Commit
3dd55da
Β·
verified Β·
1 Parent(s): ca0a18b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -283,7 +283,7 @@ def generate_images_with_progress(prompt, negative_prompt, batch_count, use_cont
283
 
284
  clear_memory()
285
 
286
- chunk_size = 2 # Adjust this number based on your memory capacity
287
 
288
  if use_controlnet:
289
  if controlnet_type not in controlnet_models or controlnet_models[controlnet_type] is None:
 
283
 
284
  clear_memory()
285
 
286
+ chunk_size = 1 # Adjust this number based on your memory capacity
287
 
288
  if use_controlnet:
289
  if controlnet_type not in controlnet_models or controlnet_models[controlnet_type] is None: