fix(Git): 用于设备是mac:m3 os:14.4 需要更小的模型不然 电脑会重启

This commit is contained in:
liubing1 2025-01-21 21:47:06 +08:00
parent 220a5362a4
commit f186b9eb83
2 changed files with 5 additions and 2 deletions

View File

@ -51,6 +51,9 @@ pip install -r requirements.txt
```
### 9. 启动助手
```bash
ollama serve
```
运行以下命令启动语音助手:
```bash
python assistant.py

View File

@ -4,7 +4,7 @@ messages:
noAudioInput: "Error: No sound input!"
whisperRecognition:
modelPath: "whisper/base.pt"
modelPath: "whisper/tiny.pt"
lang: "zh"
ollama: