用python 实现很火的小智AI
pip3install-rrequirements.txtpythonmain.py---## 备注--
·
### Windows 环境 1. 克隆项目 ```bash git clone https://github.com/Huang-junsen/py-xiaozhi.git cd py-xiaozhi ``` 2. 安装 Python 依赖 ```bash pip install -r requirements.txt ``` 3. 拷贝 opus.dll - 将 `opus.dll` 拷贝到 `C:\Windows\System32` 目录 ### Linux/macOS 环境 ```bash git clone https://github.com/Huang-junsen/py-xiaozhi.git cd py-xiaozhi pip3 install -r requirements.txt ``` ## 运行 ```bash python main.py ``` ## 使用说明 - 启动应用程序后,GUI 界面会自动连接 - 点击并按住 "按住说话" 按钮开始语音交互 - 松开按钮结束语音输入 ## 备注 - 第一次登入要验证码,点开后台https://xiaozhi.me/console/devices - 将刚刚程序运行的验证码填入后台,重新启动程序就好了 |
更多推荐
所有评论(0)