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