Closed ZachNagengast closed 5 months ago
Adds functions to more easily detect language in an audio file or audio array. Usage:
let whisperKit = try await WhisperKit() let (language, probs) = try await whisperKit.detectLanguage(audioPath: "your/audio/path/spanish.wav") print(language) // "es"
Attempts to match a similar method in the openai repo for parity.
Adds functions to more easily detect language in an audio file or audio array. Usage:
Attempts to match a similar method in the openai repo for parity.