Automatic Speech Recognition
WhisperKit
Core ML
Portuguese
Spanish
English
macos
apple-silicon
swift
live-captions
subtitles
speech-recognition
machine-translation
on-device
local-first
ollama
Instructions to use Veronyka/livecaption with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- WhisperKit
How to use Veronyka/livecaption with WhisperKit:
# Install CLI with Homebrew on macOS device brew install whisperkit-cli # View all available inference options whisperkit-cli transcribe --help # Download and run inference using whisper base model whisperkit-cli transcribe --audio-path /path/to/audio.mp3 # Or use your preferred model variant whisperkit-cli transcribe --model "large-v3" --model-prefix "distil" --audio-path /path/to/audio.mp3 --verbose
- Notebooks
- Google Colab
- Kaggle
Download Package.swift from Veronyka/livecaption: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/Veronyka/livecaption/resolve/main/Package.swift
- Command line
-
hf download hf://Veronyka/livecaption/Package.swift
-
curl -L -o Package.swift https://huggingface.co/Veronyka/livecaption/resolve/main/Package.swift
419 Bytes
| // swift-tools-version:5.9 | |
| import PackageDescription | |
| let package = Package( | |
| name: "LiveCaption", | |
| platforms: [.macOS(.v14)], | |
| dependencies: [ | |
| .package(url: "https://github.com/argmaxinc/WhisperKit.git", from: "0.9.0"), | |
| ], | |
| targets: [ | |
| .executableTarget( | |
| name: "LiveCaption", | |
| dependencies: [.product(name: "WhisperKit", package: "WhisperKit")] | |
| ), | |
| ] | |
| ) | |