Function telepAIr::handlers::whisper::whisper_rs

source ·
pub async fn whisper_rs(media_path: &str, whisper_model: &str) -> String
Expand description

Performs audio transcription using Whisper AI.

§Arguments

  • media_path - A string slice that holds the path to the media file to be transcribed.

§Returns

A String containing the transcription or an error message if transcription fails.