2022-10-06 18:32:54 +00:00
|
|
|
diff --git a/whisper/audio.py b/whisper/audio.py
|
2023-10-09 19:29:22 +00:00
|
|
|
index 4f5b6e0..bfe7924 100644
|
2022-10-06 18:32:54 +00:00
|
|
|
--- a/whisper/audio.py
|
|
|
|
+++ b/whisper/audio.py
|
2023-10-09 19:29:22 +00:00
|
|
|
@@ -44,7 +44,7 @@ def load_audio(file: str, sr: int = SAMPLE_RATE):
|
|
|
|
# and resampling as necessary. Requires the ffmpeg CLI in PATH.
|
|
|
|
# fmt: off
|
|
|
|
cmd = [
|
|
|
|
- "ffmpeg",
|
|
|
|
+ "@ffmpeg@/bin/ffmpeg",
|
|
|
|
"-nostdin",
|
|
|
|
"-threads", "0",
|
|
|
|
"-i", file,
|