mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
给唤醒词运行时补上 numpy 依赖
core/detector.py 和 core/microphone.py 在模块层直接 import numpy, requirements.txt 里没有这一条。干净环境里照文档装完依赖就启动, 会报 ModuleNotFoundError,页面都开不起来。版本跟 xiaozhi-server 那份一样, 两个模块共用一个环境时不会冲突。
This commit is contained in:
parent
ca8ff121d4
commit
43f30c06c1
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
sherpa-onnx==1.12.29
|
||||
sounddevice>=0.4.4
|
||||
pypinyin==0.55.0
|
||||
# 唤醒词运行时在 core/detector.py、core/microphone.py 里直接用 numpy,
|
||||
# 版本跟 main/xiaozhi-server/requirements.txt 一致,两个模块共用一个环境时不会冲突
|
||||
numpy==1.26.4
|
||||
|
|
|
|||
Loading…
Reference in a new issue