在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 自定义文件, 功能: 语音转文字,并翻译
相关推荐
蓝纹绿茶6 天前
音转文模型对比FunASR与Faster_whisper
whisper
SmartJavaAI6 天前
Java调用Whisper和Vosk语音识别(ASR)模型,实现高效实时语音识别(附源码)
java·人工智能·whisper·语音识别
菜鸟的日志10 天前
【音频字幕】构建一个离线视频字幕生成系统:使用 WhisperX 和 Faster-Whisper 的 Python 实现
python·whisper·音视频
AidLux15 天前
犀牛派A1上使用Faster Whisper完成音频转文字
人工智能·语言模型·whisper·音视频
ZHOU_WUYI16 天前
whisper-large-v3 模型
llm·whisper
llrraa201025 天前
python whisper生成字幕
开发语言·python·whisper
weixin_446260851 个月前
本地WSL部署接入 whisper + ollama qwen3:14b 总结字幕校对增强版
whisper
青山师1 个月前
Docker部署whisper转写模型
docker·容器·whisper
Micheal_Dad2 个月前
【尝试】基于openai-whisper进行语音转文字windows版本
whisper
Micheal_Dad2 个月前
【尝试】本地部署openai-whisper,通过 http请求识别
whisper