Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def main(video_path, audio_path, progress=gr.Progress(track_tqdm=True)):
|
|
| 111 |
print(f"Loaded checkpoint path: {inference_ckpt_path}")
|
| 112 |
|
| 113 |
#is_shared_ui = True if "fffiloni/LatentSync" in os.environ['SPACE_ID'] else False
|
| 114 |
-
is_shared_ui =
|
| 115 |
temp_dir = None
|
| 116 |
if is_shared_ui:
|
| 117 |
temp_dir = tempfile.mkdtemp()
|
|
|
|
| 111 |
print(f"Loaded checkpoint path: {inference_ckpt_path}")
|
| 112 |
|
| 113 |
#is_shared_ui = True if "fffiloni/LatentSync" in os.environ['SPACE_ID'] else False
|
| 114 |
+
is_shared_ui = False
|
| 115 |
temp_dir = None
|
| 116 |
if is_shared_ui:
|
| 117 |
temp_dir = tempfile.mkdtemp()
|