good version for 算法注册

This commit is contained in:
2026-02-15 21:23:28 +08:00
parent 3c03777b97
commit 62ea5d36a5
115 changed files with 9566 additions and 1576 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
# 启动语音转文字服务
# 进入服务目录
cd "$(dirname "$0")"
# 检查虚拟环境是否存在
if [ ! -d "venv" ]; then
echo "创建虚拟环境..."
python3 -m venv venv
fi
# 激活虚拟环境
echo "激活虚拟环境..."
source venv/bin/activate
# 安装依赖
echo "安装依赖..."
pip install --no-cache-dir -r requirements.txt
# 启动服务
echo "启动语音转文字服务..."
python main.py