yerang commited on
Commit
37beeb5
·
verified ·
1 Parent(s): 19ed163

Update stf_utils.py

Browse files
Files changed (1) hide show
  1. stf_utils.py +1 -1
stf_utils.py CHANGED
@@ -79,7 +79,7 @@ class STFPipeline:
79
 
80
  ):
81
  #os.makedirs(root_path, exist_ok=True)
82
- import shutil; shutil.copytree('/home/user/app/stf/works', '/tmp/works')
83
  dir_zip='/tmp/works/preprocess/nasilhong_f_v1_front/crop_video_front_one_piece_dress_nodded_cut.zip'
84
  dir_target='/tmp/works/preprocess/nasilhong_f_v1_front/crop_video_front_one_piece_dress_nodded_cut'
85
  import zipfile; zipfile.ZipFile(dir_zip, 'r').extractall(dir_target)
 
79
 
80
  ):
81
  #os.makedirs(root_path, exist_ok=True)
82
+ import shutil; shutil.copytree('/home/user/app/stf/works', '/tmp/works', dirs_exist_ok=True)
83
  dir_zip='/tmp/works/preprocess/nasilhong_f_v1_front/crop_video_front_one_piece_dress_nodded_cut.zip'
84
  dir_target='/tmp/works/preprocess/nasilhong_f_v1_front/crop_video_front_one_piece_dress_nodded_cut'
85
  import zipfile; zipfile.ZipFile(dir_zip, 'r').extractall(dir_target)