在win11 中 whisper-large-v3-turbo 的简单使用

在win11环境下的运行命令

克隆仓库 - 分支jongwook/large-v3-turbo

  • 原有仓库
shell 复制代码
git clone https://github.com/openai/whisper.git
  • Gitee上我自己又克隆的仓库,并附带custom.py和在dataset(自己新建的文件夹)中的一些测试文件

    shell 复制代码
    git clone https://gitee.com/kxw123/whisper-demo.git

1 创建虚拟环境(以下命令 使用git bash)

shell 复制代码
 python -m venv whisper-venv

2激活虚拟环境

shell 复制代码
source  whisper-venv/Scripts/activate

3 进入目录

shell 复制代码
cd  whisper

4 安装依赖

shell 复制代码
pip install -r requirements.txt

项目中如果有虚拟环境,忽略以上1,2,3; 在项目下执行

shell 复制代码
source .venv/Scripts/activate

5 退出虚拟环境(退出时使用)

shell 复制代码
deactivate

6 音频转文字

  • 直接在项目中运行该文件或者gitbash 都可
shell 复制代码
python custom.py
- custom.py 自定义文件, 功能: 语音转文字,并翻译
相关推荐
云空12 天前
《Whisper模型版本及下载链接》
whisper
苗杨16 天前
【Faster-Whisper】离线识别本地视频并生成字幕
python·whisper·音视频
云空18 天前
《Whisper:OpenAI的先进语音识别模型》
人工智能·whisper·语音识别
企鹅侠客19 天前
19|Whisper+ChatGPT:请AI代你听播客
人工智能·ai·chatgpt·whisper
落沐萧萧25 天前
本地多语言 AI 字幕组:Whisper 实战教程
人工智能·whisper
码码哈哈爱分享1 个月前
[特殊字符] Whisper 模型介绍(OpenAI 语音识别系统)
人工智能·whisper·语音识别
Swift社区1 个月前
用 Whisper 打破沉默:AI 语音技术如何重塑无障碍沟通方式?
人工智能·whisper
dgiij1 个月前
openai-whisper-asr-webservice接入dify
docker·ai·node.js·whisper
allnlei1 个月前
whisper相关的开源项目 (asr)
whisper·asr
phper82 个月前
开源音视频转文字工具:基于 Vosk 和 Whisper 的多语言语音识别项目
whisper·音视频·语音识别