Potre1qw commited on
Commit
a37cae7
·
verified ·
1 Parent(s): 9c9dbc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"