Skip to content

Commit 429679d

Browse files
committed
fix: librosa issue
1 parent 2e197f3 commit 429679d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/step2_whisperX.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def transcribe_audio(audio_file: str, start: float, end: float) -> Dict:
9898

9999
try:
100100
# Load audio segment with librosa
101-
audio_segment, sample_rate = librosa.load(temp_audio_path, sr=32000)
101+
audio_segment, sample_rate = librosa.load(temp_audio_path, sr=16000)
102102
finally:
103103
# Clean up temp file
104104
if os.path.exists(temp_audio_path):

0 commit comments

Comments
 (0)