Skip to content

Commit

Permalink
renaming whisper to audio model since we have both whisper and other …
Browse files Browse the repository at this point in the history
…models
  • Loading branch information
m13v committed Aug 8, 2024
1 parent 6fba5ab commit ac2b45e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions screenpipe-audio/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,14 @@ pub async fn record_and_transcribe(
// Signal the recording thread to stop
is_running.store(false, Ordering::Relaxed); // TODO: could also just kill the trhead..

debug!("Sending audio to whisper");
debug!("Sending audio to audio model");
if let Err(e) = whisper_sender.send(AudioInput {
path: output_path_clone_2.to_str().unwrap().to_string(),
device: audio_device.to_string(),
}) {
error!("Failed to send audio to whisper: {}", e);
error!("Failed to send audio to audio model: {}", e);
}
debug!("Sent audio to whisper");
debug!("Sent audio to audio model");

Ok(output_path_clone_2.to_path_buf())
}
Expand Down

0 comments on commit ac2b45e

Please sign in to comment.