Spaces:
Running
on
Zero
Running
on
Zero
app
Browse files- .gitattributes +1 -0
- app.py +1 -1
.gitattributes
CHANGED
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
*.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
*.png filter=lfs diff=lfs merge=lfs -text
|
38 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
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=150)
|
160 |
def create_image(content_image_pil,
|
161 |
style_image_pil,
|
162 |
prompt,
|