Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,8 +181,7 @@ def generate(
|
|
| 181 |
options["use_resolution_binning"] = True
|
| 182 |
|
| 183 |
images = []
|
| 184 |
-
|
| 185 |
-
for i in range(0, num_images, BATCH_SIZE):
|
| 186 |
batch_options = options.copy()
|
| 187 |
batch_options["prompt"] = options["prompt"][i:i+BATCH_SIZE]
|
| 188 |
if "negative_prompt" in batch_options:
|
|
|
|
| 181 |
options["use_resolution_binning"] = True
|
| 182 |
|
| 183 |
images = []
|
| 184 |
+
for i in range(0, num_images, BATCH_SIZE):
|
|
|
|
| 185 |
batch_options = options.copy()
|
| 186 |
batch_options["prompt"] = options["prompt"][i:i+BATCH_SIZE]
|
| 187 |
if "negative_prompt" in batch_options:
|