Spanicin commited on
Commit
fa0311f
·
verified ·
1 Parent(s): 7966754

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def process_chunk(audio_chunk, args):
117
  # with open(crop_info_path , "rb") as f:
118
  # crop_info = json.load(f)
119
 
120
- first_frame_dir = os.path.join(save_dir, 'first_frame_dir')
121
  os.makedirs(first_frame_dir, exist_ok=True)
122
  preprocess_model = CropAndExtract(path_of_lm_croper, path_of_net_recon_model, dir_of_BFM_fitting, args.device)
123
  first_coeff_path, crop_pic_path, crop_info = preprocess_model.generate(args.source_image, first_frame_dir, args.preprocess, source_image_flag=True)
 
117
  # with open(crop_info_path , "rb") as f:
118
  # crop_info = json.load(f)
119
 
120
+ first_frame_dir = os.path.join(args.result_dir, 'first_frame_dir')
121
  os.makedirs(first_frame_dir, exist_ok=True)
122
  preprocess_model = CropAndExtract(path_of_lm_croper, path_of_net_recon_model, dir_of_BFM_fitting, args.device)
123
  first_coeff_path, crop_pic_path, crop_info = preprocess_model.generate(args.source_image, first_frame_dir, args.preprocess, source_image_flag=True)