Files
avenstack-ComfyUI-AV-FunASR/README.md
T
2025-06-12 17:03:09 +08:00

67 lines
1.9 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## ComfyUI FunAsr Nodes
使用FunAsr进行语音识别,并转为文本或字幕文件。
![workflow](example_workflow/workflow.webp)
## 更新
- [ 1.0.1 ] 1. 提升运行速度,2. 优化工作流,3. 字幕默认保存为utf-8编码
## 功能
- [x] 语音识别
- [x] 语音时间戳预测
- [x] 语音转字幕
## 安装
```
cd ComfyUI/custom_nodes
git clone https://github.com/avenstack/ComfyUI-AV-FunASR.git
cd ComfyUI-AV-FunASR
pip install -r requirements.txt
```
## 模型下载
1. [语音识别](https://modelscope.cn/models/iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/files)
2. [语音端点检测](modelscope.cn/models/iic/speech_fsmn_vad_zh-cn-16k-common-pytorch/files)
3. [语音时间戳预测](modelscope.cn/models/iic/speech_timestamp_prediction-v1-16k-offline)
模型存放目录:`models/ASR/FunASR/iic`
```
iic
├── speech_fsmn_vad_zh-cn-16k-common-pytorch
│   ├── README.md
│   ├── am.mvn
│   ├── config.yaml
│   ├── configuration.json
│   ├── example
│   ├── fig
│   └── model.pt
├── speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
│   ├── README.md
│   ├── am.mvn
│   ├── asr_example_hotword.wav
│   ├── config.yaml
│   ├── configuration.json
│   ├── example
│   ├── fig
│   ├── model.pt
│   ├── seg_dict
│   └── tokens.json
└── speech_timestamp_prediction-v1-16k-offline
├── README.md
├── am.mvn
├── config.yaml
├── configuration.json
├── example
├── model.pt
├── seg_dict
└── tokens.json
```
## 鸣谢
- [ComfyUI](https://github.com/comfyanonymous/ComfyUI)