Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -161,6 +161,7 @@ def run_end_to_end(image_path, text, voice, input_video, flag_relative, flag_do_
|
|
161 |
driving_video_path = gpu_wrapped_stf_pipeline_execute(audio_path)
|
162 |
else:
|
163 |
driving_video_path = input_video
|
|
|
164 |
audio_path = osp.join("animations", Path(input_video).stem+".wav")
|
165 |
extract_audio(driving_video_path, audio_path)
|
166 |
|
|
|
161 |
driving_video_path = gpu_wrapped_stf_pipeline_execute(audio_path)
|
162 |
else:
|
163 |
driving_video_path = input_video
|
164 |
+
os.makedirs("animations",exist_ok=True)
|
165 |
audio_path = osp.join("animations", Path(input_video).stem+".wav")
|
166 |
extract_audio(driving_video_path, audio_path)
|
167 |
|