Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -94,9 +94,8 @@ def extract_frames_with_labels(video_path, base_output_dir="frames"):
|
|
94 |
def run_xportrait(source_image, driving_video, seed, uc_scale, best_frame, out_frames, num_mix, ddim_steps, progress=gr.Progress(track_tqdm=True)):
|
95 |
|
96 |
# Create a unique output directory name based on current date and time
|
97 |
-
output_dir_base = "outputs"
|
98 |
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
99 |
-
output_dir =
|
100 |
os.makedirs(output_dir, exist_ok=True)
|
101 |
|
102 |
model_config = "config/cldm_v15_appearance_pose_local_mm.yaml"
|
|
|
94 |
def run_xportrait(source_image, driving_video, seed, uc_scale, best_frame, out_frames, num_mix, ddim_steps, progress=gr.Progress(track_tqdm=True)):
|
95 |
|
96 |
# Create a unique output directory name based on current date and time
|
|
|
97 |
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
98 |
+
output_dir = f"output_{timestamp}"
|
99 |
os.makedirs(output_dir, exist_ok=True)
|
100 |
|
101 |
model_config = "config/cldm_v15_appearance_pose_local_mm.yaml"
|