Spaces:
Sleeping
Sleeping
Update stf_utils.py
Browse files- stf_utils.py +1 -1
stf_utils.py
CHANGED
@@ -81,7 +81,7 @@ class STFPipeline:
|
|
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/
|
85 |
import zipfile; zipfile.ZipFile(dir_zip, 'r').extractall(dir_target)
|
86 |
|
87 |
self.config_path = os.path.join(stf_path, config_path)
|
|
|
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/'
|
85 |
import zipfile; zipfile.ZipFile(dir_zip, 'r').extractall(dir_target)
|
86 |
|
87 |
self.config_path = os.path.join(stf_path, config_path)
|