yerang commited on
Commit
6a72103
1 Parent(s): a8eff0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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