fffiloni commited on
Commit
01d5c02
1 Parent(s): f89fa33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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 = os.path.join(output_dir_base, f"output_{timestamp}")
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"