Spaces:
Configuration error
Configuration error
app
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ def get_example():
|
|
| 127 |
]
|
| 128 |
return case
|
| 129 |
|
| 130 |
-
@spaces.GPU(duration=
|
| 131 |
def run_for_examples(content_image_pil,style_image_pil,target, prompt, scale_c, scale_s):
|
| 132 |
return create_image(
|
| 133 |
content_image_pil=content_image_pil,
|
|
@@ -339,7 +339,6 @@ with block:
|
|
| 339 |
inputs=[content_image_pil,
|
| 340 |
style_image_pil,
|
| 341 |
prompt,
|
| 342 |
-
|
| 343 |
scale_c,
|
| 344 |
scale_s,
|
| 345 |
guidance_scale,
|
|
|
|
| 127 |
]
|
| 128 |
return case
|
| 129 |
|
| 130 |
+
@spaces.GPU(duration=150)
|
| 131 |
def run_for_examples(content_image_pil,style_image_pil,target, prompt, scale_c, scale_s):
|
| 132 |
return create_image(
|
| 133 |
content_image_pil=content_image_pil,
|
|
|
|
| 339 |
inputs=[content_image_pil,
|
| 340 |
style_image_pil,
|
| 341 |
prompt,
|
|
|
|
| 342 |
scale_c,
|
| 343 |
scale_s,
|
| 344 |
guidance_scale,
|