Spaces:
Sleeping
Sleeping
Down 2 30
Browse files
app.py
CHANGED
|
@@ -284,7 +284,7 @@ def apply_style(
|
|
| 284 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
| 285 |
return p.replace("{prompt}", positive), n + " " + negative
|
| 286 |
|
| 287 |
-
@spaces.GPU(duration=
|
| 288 |
def generate_image(
|
| 289 |
face_image_path,
|
| 290 |
pose_image_path,
|
|
|
|
| 284 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
| 285 |
return p.replace("{prompt}", positive), n + " " + negative
|
| 286 |
|
| 287 |
+
@spaces.GPU(duration=30)
|
| 288 |
def generate_image(
|
| 289 |
face_image_path,
|
| 290 |
pose_image_path,
|