Spanicin commited on
Commit
12b5b69
1 Parent(s): 44b8e40

Update src/utils/paste_pic.py

Browse files
Files changed (1) hide show
  1. src/utils/paste_pic.py +2 -1
src/utils/paste_pic.py CHANGED
@@ -65,5 +65,6 @@ def paste_pic(video_path, pic_path, crop_info, new_audio_path, full_video_path,
65
 
66
  out_tmp.release()
67
 
68
- save_video_with_watermark(tmp_path, new_audio_path, full_video_path, watermark=False)
69
  os.remove(tmp_path)
 
 
65
 
66
  out_tmp.release()
67
 
68
+ base64_video, temp_file_path = save_video_with_watermark(tmp_path, new_audio_path, full_video_path, watermark=False)
69
  os.remove(tmp_path)
70
+ return base64_video, temp_file_path