Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ from diffusers.utils.import_utils import is_xformers_available
|
|
78 |
from accelerate.utils import set_seed
|
79 |
from latentsync.whisper.audio2feature import Audio2Feature
|
80 |
|
81 |
-
|
82 |
def main(video_path, audio_path, progress=gr.Progress(track_tqdm=True)):
|
83 |
inference_ckpt_path = "checkpoints/latentsync_unet.pt"
|
84 |
unet_config_path = "configs/unet/second_stage.yaml"
|
|
|
78 |
from accelerate.utils import set_seed
|
79 |
from latentsync.whisper.audio2feature import Audio2Feature
|
80 |
|
81 |
+
@spaces.GPU(duration=170)
|
82 |
def main(video_path, audio_path, progress=gr.Progress(track_tqdm=True)):
|
83 |
inference_ckpt_path = "checkpoints/latentsync_unet.pt"
|
84 |
unet_config_path = "configs/unet/second_stage.yaml"
|