Instructions to use duckwork-ai/quack-tts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use duckwork-ai/quack-tts with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download duckwork-ai/quack-tts --local-dir quack-tts
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Model card: Python install line, Swift (MLX) section, mlx and swift tags
Browse files4 unmodified lines567891029 unmodified lines4041424344452 unmodified lines4849505152534 unmodified linespipeline_tag: text-to-speechtags:- text-to-speech- tts- on-device- matcha-tts29 unmodified lines## Use```from quack_tts import QuackTTS2 unmodified linestts.save("The meeting moved to 3:45 p.m.", "meeting.wav", voice="Harbor")```## How it works4 unmodified lines5678910111229 unmodified lines4243444546474849505152532 unmodified lines565758596061626364656667686970717273747576774 unmodified linespipeline_tag: text-to-speechtags:- text-to-speech- mlx- swift- tts- on-device- matcha-tts29 unmodified lines## Use### Python```pip install quack-tts``````from quack_tts import QuackTTS2 unmodified linestts.save("The meeting moved to 3:45 p.m.", "meeting.wav", voice="Harbor")```### Swift (Apple silicon, MLX)[quack-tts-swift](https://github.com/duckwork-ai/quack-tts-swift) runs the same files on the Mac's GPUwith [MLX](https://github.com/ml-explore/mlx-swift): about 0.1 s for a typical sentence on an M4.```swift.package(url: "https://github.com/duckwork-ai/quack-tts-swift", from: "0.1.0")``````swiftimport QuackTTSlet model = try QuackModel(folder: try await QuackModel.download())let audio = model.speak("Call me at 555-0143.", voice: try model.voice("Brook")) // [Float], 24 kHz```## How it works
README.md+24