Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
c4a4fb7
1
Parent(s):
71e4a91
delete long video
Browse files
app.py
CHANGED
|
@@ -361,7 +361,7 @@ def get_image_base64(path):
|
|
| 361 |
|
| 362 |
def demo_lhm(pose_estimator, face_detector, lhm, cfg):
|
| 363 |
|
| 364 |
-
@spaces.GPU(duration=
|
| 365 |
def core_fn(image: str, video_params, working_dir):
|
| 366 |
image_raw = os.path.join(working_dir.name, "raw.png")
|
| 367 |
with Image.fromarray(image) as img:
|
|
@@ -684,8 +684,8 @@ def demo_lhm(pose_estimator, face_detector, lhm, cfg):
|
|
| 684 |
examples = [
|
| 685 |
# './assets/sample_motion/danaotiangong/danaotiangong_origin.mp4',
|
| 686 |
'./assets/sample_motion/ex5/ex5_origin.mp4',
|
| 687 |
-
'./assets/sample_motion/girl2/girl2_origin.mp4',
|
| 688 |
-
'./assets/sample_motion/jntm/jntm_origin.mp4',
|
| 689 |
'./assets/sample_motion/mimo1/mimo1_origin.mp4',
|
| 690 |
'./assets/sample_motion/mimo2/mimo2_origin.mp4',
|
| 691 |
'./assets/sample_motion/mimo4/mimo4_origin.mp4',
|
|
|
|
| 361 |
|
| 362 |
def demo_lhm(pose_estimator, face_detector, lhm, cfg):
|
| 363 |
|
| 364 |
+
@spaces.GPU(duration=80)
|
| 365 |
def core_fn(image: str, video_params, working_dir):
|
| 366 |
image_raw = os.path.join(working_dir.name, "raw.png")
|
| 367 |
with Image.fromarray(image) as img:
|
|
|
|
| 684 |
examples = [
|
| 685 |
# './assets/sample_motion/danaotiangong/danaotiangong_origin.mp4',
|
| 686 |
'./assets/sample_motion/ex5/ex5_origin.mp4',
|
| 687 |
+
# './assets/sample_motion/girl2/girl2_origin.mp4',
|
| 688 |
+
# './assets/sample_motion/jntm/jntm_origin.mp4',
|
| 689 |
'./assets/sample_motion/mimo1/mimo1_origin.mp4',
|
| 690 |
'./assets/sample_motion/mimo2/mimo2_origin.mp4',
|
| 691 |
'./assets/sample_motion/mimo4/mimo4_origin.mp4',
|