在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 自定义文件, 功能: 语音转文字,并翻译
相关推荐
未来之窗软件服务2 天前
幽冥大陆(五十七)ASR whisper-cli命令行使用 C语言—东方仙盟筑基期
c语言·开发语言·whisper·仙盟创梦ide·东方仙盟·东方仙盟自动化·东方仙盟商业开发
手揽回忆怎么睡6 天前
Java集成whisper.cpp
java·开发语言·whisper
YXWik67 天前
Linux安装Whisper(C++版)音频解析文本
linux·c++·whisper
普通网友9 天前
解决下载慢!Whisper 模型国内镜像源汇总与各版本快速获取
whisper
minhuan11 天前
大模型应用:语音转文本(ASR)实践:OpenAI Whisper精准转录解析.21
whisper·asr·多模态模型·语音转文本应用·语音大模型应用
DARLING Zero two♡17 天前
浏览器里跑 AI 语音转写?Whisper Web + cpolar让本地服务跑遍全网
前端·人工智能·whisper
johnny23319 天前
OpenAI Whisper:生态
whisper
不解不惑1 个月前
OpenAI whisper 语音识别服务器搭建
服务器·whisper·语音识别
许泽宇的技术分享1 个月前
用 OpenAI Whisper + pyannote.audio 打造“谁在说什么”的全栈语音理解系统
macos·whisper·xcode
这儿有一堆花1 个月前
使用 Whisper 转写语音的完整教学
人工智能·ai·whisper