yerang commited on
Commit
21a7a60
·
verified ·
1 Parent(s): 1355017

Update stf_utils.py

Browse files
Files changed (1) hide show
  1. stf_utils.py +5 -2
stf_utils.py CHANGED
@@ -114,8 +114,11 @@ class STFPipeline:
114
  )
115
 
116
 
117
- Path("dubbing").mkdir(exist_ok=True)
118
- save_path = os.path.join("dubbing", Path(audio).stem+"--lip.mp4")
 
 
 
119
  reader = iter(self.template._get_reader(num_skip_frames=0))
120
  audio_segment = AudioSegment.from_file(audio)
121
  pivot = 0
 
114
  )
115
 
116
 
117
+ # Path("dubbing").mkdir(exist_ok=True)
118
+ # save_path = os.path.join("dubbing", Path(audio).stem+"--lip.mp4")
119
+ Path("/tmp/dubbing").mkdir(exist_ok=True)
120
+ save_path = os.path.join("/tmp/dubbing", Path(audio).stem+"--lip.mp4")
121
+
122
  reader = iter(self.template._get_reader(num_skip_frames=0))
123
  audio_segment = AudioSegment.from_file(audio)
124
  pivot = 0