nightfury commited on
Commit
038521a
1 Parent(s): 2ebaa1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,12 +27,12 @@ def ref_video_fn(path_of_ref_video):
27
  else:
28
  return gr.update(value=False)
29
 
30
- #def download_model():
31
- # REPO_ID = 'vinthony/LipSyncer-V002rc'
32
- # snapshot_download(repo_id=REPO_ID, local_dir='./checkpoints', local_dir_use_symlinks=True)
33
 
34
  def lipsyncer_demo():
35
- #download_model()
36
  lip_syncer = SadTalker(lazy_load=True)
37
  # tts_talker = TTSTalker()
38
 
 
27
  else:
28
  return gr.update(value=False)
29
 
30
+ def download_model():
31
+ REPO_ID = 'vinthony/SadTalker-V002rc'
32
+ snapshot_download(repo_id=REPO_ID, local_dir='./checkpoints', local_dir_use_symlinks=True)
33
 
34
  def lipsyncer_demo():
35
+ download_model()
36
  lip_syncer = SadTalker(lazy_load=True)
37
  # tts_talker = TTSTalker()
38