FastAPI transcribe service plugin for fasr
Project description
fasr-service-transcribe
英文文档地址: README_EN.md
fasr 的 FastAPI transcribe 服务插件。
注册入口
服务 entry point:
transcribe.fastapi.v1
router entry point:
transcribe.fastapi.v1
CLI
fasr-service-transcribe serve \
--vad marblenet \
--asr paraformer \
--enhance deepfilternet \
--punc ct_transformer \
--host 0.0.0.0 \
--port 8000
fasr-service-transcribe init \
--cfg transcribe.cfg \
--vad marblenet \
--asr paraformer \
--enhance deepfilternet \
--punc ct_transformer
# init 默认会在每个参数上方写入 # 注释,方便理解参数作用;
# 如需生成纯配置文件,可以加 --no-comments。
fasr-service-transcribe init --cfg transcribe.cfg --no-comments
fasr-service-transcribe serve --cfg transcribe.cfg
扁平 CLI 参数适合快速启动 transcribe 服务;如果需要细调模型参数,再通过
init --cfg 生成 transcribe.cfg 并修改配置文件。该服务会暴露
POST /transcribe 与 POST /inference 接口。--enhance 是可选参数,
用于在离线转写前先执行批量音频增强。
服务启动后,也可以直接打开 / 或 /demo 使用内置可视化页面测试转写接口。
API 文档
Client 示例
- Python client: client.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fasr_service_transcribe-0.5.8-py3-none-any.whl.
File metadata
- Download URL: fasr_service_transcribe-0.5.8-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89f8a1a52d7f6422429b70811c453e4c088f4077be279649e03c6d71b790aa06
|
|
| MD5 |
95f2e0d2f39153cf38a82b859b388228
|
|
| BLAKE2b-256 |
f566b72db31e49e6a51a439a25b52c466ca93521b73140fde32af2f0034a36f7
|