apeatling/ollama-voice-mac
Sobre
Mac compatible Ollama Voice
IA e aprendizado de máquinaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +1
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalollama-voice-mac
A completely offline voice assistant using Mistral 7b via Ollama and Whisper speech recognition models. This builds on the excellent work of maudoin by adding Mac compatibility with various improvements.
https://github.com/apeatling/ollama-voice-mac/assets/1464705/996abeb7-7e99-451b-8d3b-feb3fecbb82e
Installing and running
- Install Ollama on your Mac.
- Download the Mistral 7b model using the
ollama pull mistralcommand. - Download an OpenAI Whisper Model (base.en works fine).
- Clone this repo somewhere.
- Place the Whisper model in a /whisper directory in the repo root folder.
- Make sure you have Python and Pip installed.
- For Apple silicon support of the PyAudio library you'll need to install Homebrew and run
brew install portaudio. - Run
pip install -r requirements.txtto install. - Run
python assistant.pyto start the assistant.
Improving the voice
You can improve the quality of the voice by downloading a higher quality version. These instructions work on MacOS 14 Sonoma:
- In System Settings select Accessibility > Spoken Content
- Select System Voice and Manage Voices...
- For English find "Zoe (Premium)" and download it.
- Select Zoe (Premium) as your System voice.
Other languages
You can set up support for other languages by editing assistant.yaml. Be sure to download a different Whisper model in your language and change the default modelPath.
Explore projetos relacionados
Carregando…