Spaces:
Configuration error
Configuration error
app
Browse files
app.py
CHANGED
|
@@ -156,7 +156,7 @@ def image_grid(imgs, rows, cols):
|
|
| 156 |
for i, img in enumerate(imgs):
|
| 157 |
grid.paste(img, box=(i % cols * w, i // cols * h))
|
| 158 |
return grid
|
| 159 |
-
@spaces.GPU(duration=
|
| 160 |
def create_image(content_image_pil,
|
| 161 |
style_image_pil,
|
| 162 |
prompt,
|
|
|
|
| 156 |
for i, img in enumerate(imgs):
|
| 157 |
grid.paste(img, box=(i % cols * w, i // cols * h))
|
| 158 |
return grid
|
| 159 |
+
@spaces.GPU(duration=300)
|
| 160 |
def create_image(content_image_pil,
|
| 161 |
style_image_pil,
|
| 162 |
prompt,
|