在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 自定义文件, 功能: 语音转文字,并翻译
相关推荐
JK Chen15 分钟前
faster_whisper,视频转文字,并生成字幕文件
python·whisper·音视频
工作log2 天前
10分钟搭建本地语音识别服务 (Whisper large-v3-turbo)
人工智能·whisper·语音识别
shao9185163 天前
第10章 Streaming(上):初级音频应用(1)——项目三:自建服务器的Mini-Omni实时语音聊天机器人
ffmpeg·whisper·asr·mini-omni·自建语音服务器
code_pgf8 天前
MNN Whisper 实时 ASR 工程实现
人工智能·whisper·mnn
独占的甜蜜11 天前
从FLAC到WAV:whisper.cpp中的FFmpeg音频预处理全解析过程
ffmpeg·whisper·音视频
独占的甜蜜11 天前
从FLAC到WAV:whisper.cpp中的FFmpeg音频预处理全解析
ffmpeg·whisper·音视频
阿里巴啦15 天前
一个 Python 视频处理工具链实战:下载、转录、摘要、字幕、诊断全打通 (已开源)
人工智能·python·whisper·视频下载·视频处理工具
qq_3168377516 天前
使用 whisper OpenCC 从音频文件生成字幕
whisper
skywalk816322 天前
DuMate帮着在Windows10 编译安装Whisper-CPP
人工智能·whisper
skywalk816324 天前
Windows下安装编译安装Whisper-CPP:一个语音实现框架集和高性能推理模型
人工智能·windows·whisper