Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
31 |
-
|
32 |
-
|
33 |
|
34 |
def lipsyncer_demo():
|
35 |
-
|
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 |
|