From f186b9eb834f0a4c20a7224e7068723fac4dcc22 Mon Sep 17 00:00:00 2001 From: liubing1 Date: Tue, 21 Jan 2025 21:47:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(Git):=20=E7=94=A8=E4=BA=8E=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E6=98=AFmac=EF=BC=9Am3=20=20os=EF=BC=9A14.4=20?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=9B=B4=E5=B0=8F=E7=9A=84=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E4=B8=8D=E7=84=B6=20=E7=94=B5=E8=84=91=E4=BC=9A=E9=87=8D?= =?UTF-8?q?=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- assistant.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5809887..1cd28cf 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,10 @@ brew install portaudio pip install -r requirements.txt ``` -### 9. 启动助手 +### 9. 启动助手 +```bash +ollama serve +``` 运行以下命令启动语音助手: ```bash python assistant.py diff --git a/assistant.yaml b/assistant.yaml index 68613b6..f0f2b82 100644 --- a/assistant.yaml +++ b/assistant.yaml @@ -4,7 +4,7 @@ messages: noAudioInput: "Error: No sound input!" whisperRecognition: - modelPath: "whisper/base.pt" + modelPath: "whisper/tiny.pt" lang: "zh" ollama: