maudoin/ollama-voice
소개
plug whisper audio transcription to a local ollama server and ouput tts audio responses
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalollama-voice
Plug whisper audio transcription to a local ollama server and ouput tts audio responses
This is just a simple combination of three tools in offline mode:
- Speech recognition: whisper running local models in offline mode
- Large Language Mode: ollama running local models in offline mode
- Offline Text To Speech: pyttsx3
Prerequisites
whisper dependencies are setup to run on GPU so Install Cuda before running pip install.
Running
Install ollama and ensure server is started locally first (in WLS under windows) (e.g. curl https://ollama.ai/install.sh | sh)
Download a whisper model and place it in the whisper subfolder (e.g. https://openaipublic.azureedge.net/main/whisper/models/e5b1a55b89c1367dacf97e3e19bfd829a01529dbfdeefa8caeb59b3f1b81dadb/large-v3.pt)
Configure assistant.yaml settings. (It is setup to work in french with ollama mistral model by default...)
Run assistant.py
Leave space key pressed to talk, the AI will interpret the query when you release the key.
Todo
- Rearrange code base
- Multi threading to overlap tts and speed recognition (ollama is already running remotely in parallel)
관련 프로젝트 살펴보기
불러오는 중…