Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / openai-whisper / ffmpeg-path.patch
blob784168d1f62dc9f6931eedf3183b61dfe4dfe547
1 diff --git a/whisper/audio.py b/whisper/audio.py
2 index 4f5b6e0..bfe7924 100644
3 --- a/whisper/audio.py
4 +++ b/whisper/audio.py
5 @@ -44,7 +44,7 @@ def load_audio(file: str, sr: int = SAMPLE_RATE):
6 # and resampling as necessary. Requires the ffmpeg CLI in PATH.
7 # fmt: off
8 cmd = [
9 - "ffmpeg",
10 + "@ffmpeg@/bin/ffmpeg",
11 "-nostdin",
12 "-threads", "0",
13 "-i", file,