Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
19368fa
1
Parent(s):
57c7080
extend zerogpu maximum time to 80 seconds
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
|
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:
|
|
|
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:
|