Update whisper_cs.py

#36
by ssolito - opened
Files changed (1) hide show
  1. whisper_cs.py +1 -0
whisper_cs.py CHANGED
@@ -174,6 +174,7 @@ def transcribe_audio(model, audio_path: str) -> Dict:
174
  def generate(audio_path, use_v2_fast):
175
 
176
  if use_v2_fast:
 
177
  left_channel_path = "temp_mono_speaker2.wav"
178
  right_channel_path = "temp_mono_speaker1.wav"
179
 
 
174
  def generate(audio_path, use_v2_fast):
175
 
176
  if use_v2_fast:
177
+ split_stereo_channels(audio_path)
178
  left_channel_path = "temp_mono_speaker2.wav"
179
  right_channel_path = "temp_mono_speaker1.wav"
180