Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,9 @@ def generate(
|
|
| 94 |
cross_attention_kwargs={"scale": 0.65},
|
| 95 |
output_type="pil",
|
| 96 |
).images
|
| 97 |
-
image_paths = [save_image(img) for img in images]
|
|
|
|
|
|
|
| 98 |
download_links = [create_download_link(path) for path in image_paths]
|
| 99 |
|
| 100 |
print(image_paths)
|
|
|
|
| 94 |
cross_attention_kwargs={"scale": 0.65},
|
| 95 |
output_type="pil",
|
| 96 |
).images
|
| 97 |
+
image_paths = [save_image(img, prompt) for img in images]
|
| 98 |
+
|
| 99 |
+
#image_paths = [save_image(img) for img in images]
|
| 100 |
download_links = [create_download_link(path) for path in image_paths]
|
| 101 |
|
| 102 |
print(image_paths)
|