Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,8 @@ def main(video_path, audio_path, progress=gr.Progress(track_tqdm=True)):
|
|
88 |
print(f"Input audio path: {audio_path}")
|
89 |
print(f"Loaded checkpoint path: {inference_ckpt_path}")
|
90 |
|
91 |
-
is_shared_ui = True if "fffiloni/LatentSync" in os.environ['SPACE_ID'] else False
|
|
|
92 |
temp_dir = None
|
93 |
if is_shared_ui:
|
94 |
temp_dir = tempfile.mkdtemp()
|
|
|
88 |
print(f"Input audio path: {audio_path}")
|
89 |
print(f"Loaded checkpoint path: {inference_ckpt_path}")
|
90 |
|
91 |
+
#is_shared_ui = True if "fffiloni/LatentSync" in os.environ['SPACE_ID'] else False
|
92 |
+
is_shared_ui = True
|
93 |
temp_dir = None
|
94 |
if is_shared_ui:
|
95 |
temp_dir = tempfile.mkdtemp()
|