Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.19 KB

File metadata and controls

35 lines (24 loc) · 1.19 KB

Faster Whisper GUI

一款运行在CPU上的本地语音转文字(TTS)的GUI工具。

功能介绍

  • 支持单条转写/多条批量转写
  • 支持两款模型
  • 支持API调用(Beta)
image image

使用方法

  1. 使用 python -m venv ./venv创建虚拟环境
  2. Windows下使用 cd .\venv\Scripts定位到虚拟环境位置,.\activate激活虚拟环境,cd ../../回到项目目录;Linux下使用 source ./venv/bin/activate激活虚拟环境
  3. 使用pip install -r requirements.txt 安装依赖
  4. 使用python main_window.py 打开软件

API使用方法

在设置中启用API服务,GET 127.0.0.1:5000/health检测服务状态,POST 127.0.0.1:5000/transcribe转录 API调用格式

参数名 类型 必填 默认值 说明
file File - 音频文件
model_size string "small" 模型大小
language string "zh" 语言代码
stream string "false" 是否流式返回

owo