Allow fallback to GGML when CoreML model not available.

This commit is contained in:
Jonathan Soo 2023-05-08 10:31:03 -04:00
parent 0859b41191
commit 5c0d6ce957

View file

@ -80,6 +80,7 @@ fn main() {
.arg("-DWHISPER_BUILD_TESTS=OFF") .arg("-DWHISPER_BUILD_TESTS=OFF")
.arg("-DWHISPER_BUILD_EXAMPLES=OFF") .arg("-DWHISPER_BUILD_EXAMPLES=OFF")
.arg("-DWHISPER_COREML=1") .arg("-DWHISPER_COREML=1")
.arg("-DWHISPER_COREML_ALLOW_FALLBACK=1")
.status() .status()
.expect("Failed to generate build script"); .expect("Failed to generate build script");