Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
a5huynh committed Apr 3, 2023
2 parents a336ae9 + 4a94090 commit 16b0689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/spyglass/src/crawler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ async fn _process_file(
#[cfg(debug_assertions)]
let model_path: PathBuf = "assets/models/whisper.base.en.bin".into();
#[cfg(not(debug_assertions))]
let model_path: PathBuf = _state.config.model_dir().join("whisper.base.en.bin");
let model_path: PathBuf = state.config.model_dir().join("whisper.base.en.bin");

if !model_path.exists() {
log::warn!("whisper model not installed, skipping transcription");
Expand Down

0 comments on commit 16b0689

Please sign in to comment.