Skip to content

Commit 94ee7c6

Browse files
committed
use cbuild instead of cinstall
1 parent d71ea73 commit 94ee7c6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ cargo install cargo-c
1111
1212
git clone https://github.com/avstack/gst-whisper
1313
cd gst-whisper
14-
cargo cinstall
14+
cargo cbuild --release
15+
export GST_PLUGIN_PATH=$(pwd)/target/release
1516
```
1617

1718
## Example usage
1819

1920
You must already have the Whisper model.
2021

2122
```
22-
WHISPER_MODEL_PATH=../whisper.cpp/models/ggml-base.en.bin gst-launch-1.0 --no-position autoaudiosrc ! audioconvert ! audioresample ! queue ! whisper ! fdsink
23+
export WHISPER_MODEL_PATH=../whisper.cpp/models/ggml-base.en.bin
24+
25+
gst-launch-1.0 --no-position autoaudiosrc ! audioconvert ! audioresample ! queue ! whisper ! fdsink
2326
```
2427

2528
## License

shell.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ mkShell {
1515
] ++ (if stdenv.isDarwin then [
1616
darwin.apple_sdk.frameworks.Accelerate
1717
] else []);
18+
19+
shellHook = ''
20+
export HISTFILE="$HOME/.local/log/bash_history/gst-whisper";
21+
'';
1822
}

0 commit comments

Comments
 (0)