Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -382,7 +382,7 @@ def generate(
|
|
| 382 |
batch_options["prompt"] = options["prompt"][i:i+BATCH_SIZE]
|
| 383 |
if "negative_prompt" in batch_options:
|
| 384 |
batch_options["negative_prompt"] = options["negative_prompt"][i:i+BATCH_SIZE]
|
| 385 |
-
images.extend(pipe(**batch_options).images
|
| 386 |
|
| 387 |
image_paths = [save_image(img) for img in images]
|
| 388 |
return image_paths, seed
|
|
|
|
| 382 |
batch_options["prompt"] = options["prompt"][i:i+BATCH_SIZE]
|
| 383 |
if "negative_prompt" in batch_options:
|
| 384 |
batch_options["negative_prompt"] = options["negative_prompt"][i:i+BATCH_SIZE]
|
| 385 |
+
images.extend(pipe(**batch_options).images)
|
| 386 |
|
| 387 |
image_paths = [save_image(img) for img in images]
|
| 388 |
return image_paths, seed
|