From beeac22f6aa2255ba43df927d61dc43eff84c16e Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Mon, 14 Apr 2025 14:18:56 +0800 Subject: [PATCH] 'commit' --- XiaoZhi/xiaozhi-esp32-server/main/README.md | 2 -- XiaoZhi/文档.txt | 27 ++++++++++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/XiaoZhi/xiaozhi-esp32-server/main/README.md b/XiaoZhi/xiaozhi-esp32-server/main/README.md index a91c9fdc..ff5a1a69 100644 --- a/XiaoZhi/xiaozhi-esp32-server/main/README.md +++ b/XiaoZhi/xiaozhi-esp32-server/main/README.md @@ -1,8 +1,6 @@ 本文档是开发类文档,如需部署小智服务端,[点击这里查看部署教程](../README.md#%E9%83%A8%E7%BD%B2%E6%96%87%E6%A1%A3) # 项目目录介绍 -如果你是一名软件开发者,这里有一份[《致开发者的公开信》](../docs/contributor_open_letter.md),欢迎归队! - ``` xiaozhi-esp32-server ├─ xiaozhi-server 8000 端口 Python语言开发 负责与esp32通信 diff --git a/XiaoZhi/文档.txt b/XiaoZhi/文档.txt index 152e8583..ad87aa9b 100644 --- a/XiaoZhi/文档.txt +++ b/XiaoZhi/文档.txt @@ -5,4 +5,29 @@ https://www.bilibili.com/video/BV1GvQWYZEd2/ https://github.com/xinnan-tech/xiaozhi-esp32-server # Git下载 -git clone https://github.com/xinnan-tech/xiaozhi-esp32-server.git \ No newline at end of file +git clone https://github.com/xinnan-tech/xiaozhi-esp32-server.git + + +#添加清华源通道【如果需要要的话】 +conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main +conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free +conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge + +# 一、部署 +conda remove -n xiaozhi-esp32-server --all -y +conda create -n xiaozhi-esp32-server python=3.10 -y +conda activate xiaozhi-esp32-server + +# 安装音频处理工具,录制,转码,剪辑等 +conda install libopus -y + +# 音频的编码解码库 +conda install ffmpeg -y + +#进入到你的项目根目录,再进入main/xiaozhi-server +d: +cd D:\dsWork\QingLong\XiaoZhi\xiaozhi-esp32-server\main\xiaozhi-server +pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ +pip install -r requirements.txt + +# 二、下载语音识别模型文件