Spaces:
Runtime error
Runtime error
alex commited on
Commit ·
7a6fd96
1
Parent(s): 0485169
app.py updated
Browse files
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
|
| 2 |
-
import tca
|
| 3 |
from huggingface_hub import snapshot_download, hf_hub_download
|
| 4 |
import os
|
| 5 |
import subprocess
|
|
|
|
| 1 |
|
|
|
|
| 2 |
from huggingface_hub import snapshot_download, hf_hub_download
|
| 3 |
import os
|
| 4 |
import subprocess
|
wan/modules/animate/preprocess/preprocess_data.py
CHANGED
|
@@ -55,7 +55,7 @@ def run(process_pipeline, input_video, edited_frame, preprocess_dir, w, h, tag_s
|
|
| 55 |
retarget_flag = False
|
| 56 |
replace_flag = True
|
| 57 |
|
| 58 |
-
os.makedirs(
|
| 59 |
process_pipeline(video_path=input_video,
|
| 60 |
refer_image_path=edited_frame,
|
| 61 |
output_path=preprocess_dir,
|
|
|
|
| 55 |
retarget_flag = False
|
| 56 |
replace_flag = True
|
| 57 |
|
| 58 |
+
os.makedirs(preprocess_dir, exist_ok=True)
|
| 59 |
process_pipeline(video_path=input_video,
|
| 60 |
refer_image_path=edited_frame,
|
| 61 |
output_path=preprocess_dir,
|