Spaces:
Running
on
Zero
Running
on
Zero
Remove duration
Browse files
app.py
CHANGED
|
@@ -283,7 +283,8 @@ def apply_style(
|
|
| 283 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
| 284 |
return p.replace("{prompt}", positive), n + " " + negative
|
| 285 |
|
| 286 |
-
|
|
|
|
| 287 |
def generate_image(
|
| 288 |
face_image_path,
|
| 289 |
pose_image_path,
|
|
|
|
| 283 |
p, n = styles.get(style_name, styles[DEFAULT_STYLE_NAME])
|
| 284 |
return p.replace("{prompt}", positive), n + " " + negative
|
| 285 |
|
| 286 |
+
#@spaces.GPU(duration=25, progress=gr.Progress(track_tqdm=True))
|
| 287 |
+
@spaces.GPU()
|
| 288 |
def generate_image(
|
| 289 |
face_image_path,
|
| 290 |
pose_image_path,
|