Commit 95eac08e authored by chenpangpang's avatar chenpangpang
Browse files

feat: fix bug

parent 4174dd7a
Pipeline #2216 failed with stages
in 0 seconds
......@@ -88,7 +88,7 @@ def main(video_path, audio_path, progress=gr.Progress(track_tqdm=True)):
print(f"Input audio path: {audio_path}")
print(f"Loaded checkpoint path: {inference_ckpt_path}")
is_shared_ui = True if "fffiloni/LatentSync" in os.environ['SPACE_ID'] else False
is_shared_ui = False
temp_dir = None
if is_shared_ui:
temp_dir = tempfile.mkdtemp()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment