Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: add support for whisper-large-v3-turbo

Louis Beaumontcca3e1b1cd9f
diff --git a/screenpipe-app-tauri/components/recording-settings.tsx b/screenpipe-app-tauri/components/recording-settings.tsx
index af7d6476c..5bca83db5 100644
--- a/screenpipe-app-tauri/components/recording-settings.tsx
+++ b/screenpipe-app-tauri/components/recording-settings.tsx
@@ -525,6 +525,9 @@ export function RecordingSettings({
</SelectItem>
<SelectItem value="whisper-tiny">whisper-tiny</SelectItem>
<SelectItem value="whisper-large">whisper-large</SelectItem>
+ <SelectItem value="whisper-large-v3-turbo">
+ whisper-large-turbo
+ </SelectItem>
</SelectContent>
</Select>
</div>
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 58cd7b9ac..18ad8b074 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.2.98"
+version = "0.2.99"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-audio/src/core.rs b/screenpipe-audio/src/core.rs
index ce07b4f6c..edb948fdb 100644
--- a/screenpipe-audio/src/core.rs
+++ b/screenpipe-audio/src/core.rs
@@ -15,6 +15,7 @@ pub enum AudioTranscriptionEngine {
Deepgram,
WhisperTiny,
WhisperDistilLargeV3,
+ WhisperLargeV3Turbo
}
impl fmt::Display for AudioTranscriptionEngine {
@@ -23,13 +24,14 @@ impl fmt::Display for AudioTranscriptionEngine {
AudioTranscriptionEngine::Deepgram => write!(f, "Deepgram"),
AudioTranscriptionEngine::WhisperTiny => write!(f, "WhisperTiny"),
AudioTranscriptionEngine::WhisperDistilLargeV3 => write!(f, "WhisperLarge"),
+ AudioTranscriptionEngine::WhisperLargeV3Turbo => write!(f, "WhisperLargeV3Turbo"),
}
}
}
impl Default for AudioTranscriptionEngine {
fn default() -> Self {
- AudioTranscriptionEngine::WhisperTiny
+ AudioTranscriptionEngine::WhisperLargeV3Turbo
}
}
diff --git a/screenpipe-audio/src/whisper.rs b/screenpipe-audio/src/whisper.rs
index 055e6757a..f250d51e4 100644
--- a/screenpipe-audio/src/whisper.rs
+++ b/screenpipe-audio/src/whisper.rs
@@ -35,6 +35,11 @@ impl WhisperModel {
RepoType::Model,
"main".to_string(),
),
+ crate::AudioTranscriptionEngine::WhisperLargeV3Turbo => Repo::with_revision(
+ "openai/whisper-large-v3-turbo".to_string(),
+ RepoType::Model,
+ "main".to_string(),
+ ),
_ => Repo::with_revision(
"openai/whisper-tiny".to_string(),
RepoType::Model,
diff --git a/screenpipe-server/src/cli.rs b/screenpipe-server/src/cli.rs
index d7c783aa8..984b93db3 100644
--- a/screenpipe-server/src/cli.rs
+++ b/screenpipe-server/src/cli.rs
@@ -12,6 +12,8 @@ pub enum CliAudioTranscriptionEngine {
WhisperTiny,
#[clap(name = "whisper-large")]
WhisperDistilLargeV3,
+ #[clap(name = "whisper-large-v3-turbo")]
+ WhisperLargeV3Turbo,
}
impl From<CliAudioTranscriptionEngine> for CoreAudioTranscriptionEngine {
@@ -22,6 +24,9 @@ impl From<CliAudioTranscriptionEngine> for CoreAudioTranscriptionEngine {
CliAudioTranscriptionEngine::WhisperDistilLargeV3 => {
CoreAudioTranscriptionEngine::WhisperDistilLargeV3
}
+ CliAudioTranscriptionEngine::WhisperLargeV3Turbo => {
+ CoreAudioTranscriptionEngine::WhisperLargeV3Turbo
+ }
}
}
}
@@ -137,7 +142,8 @@ pub struct Cli {
/// Audio transcription engine to use.
/// Deepgram is a very high quality cloud-based transcription service (free of charge on us for now), recommended for high quality audio.
/// WhisperTiny is a local, lightweight transcription model, recommended for high data privacy.
- /// WhisperDistilLargeV3 is a local, lightweight transcription model (--a whisper-large), recommended for higher quality audio than tiny.
+ /// WhisperDistilLargeV3 is a local, lightweight transcription model (-a whisper-large), recommended for higher quality audio than tiny.
+ /// WhisperLargeV3Turbo is a local, lightweight transcription model (-a whisper-large-v3-turbo), recommended for higher quality audio than tiny.
#[arg(short = 'a', long, value_enum, default_value_t = CliAudioTranscriptionEngine::WhisperDistilLargeV3)]
pub audio_transcription_engine: CliAudioTranscriptionEngine,