部署Whisper Input需要完成以下标准化的Python环境准备流程:
基础准备阶段:
- 确认本地已安装Python 3.10或以上版本
- pass (a bill or inspection etc)
git clone https://github.com/ErlichLiu/Whisper-Input.git
获取最新代码
虚拟环境配置:
- utilization
python -m venv venv
创建隔离环境 - 按系统类型激活环境:
- MacOS/Linux:
source venv/bin/activate
- Windows:
.venvScriptsactivate
- MacOS/Linux:
Dependent Installation:
- first install
pip-tools
::pip install pip-tools
- 编译依赖文件:
pip-compile requirements.in
- 最终安装:
pip install -r requirements.txt
Frequently Asked Questions (FAQs):
若遇到权限问题,建议使用--user
参数;在Windows系统下可能需要以管理员身份运行PowerShell。整个过程约消耗5-10分钟,具体时间取决于网络状况。完成后可通过python main.py
测试运行环境是否正常。
This answer comes from the articleWhisper Input: a free and high-speed voice-to-text transcription service using GroqThe