feat: api
Some checks failed
Build container / build-docker (push) Failing after 28s

This commit is contained in:
vera
2026-02-10 17:56:37 +08:00
parent d9ba359ddf
commit 7879751126
8 changed files with 550 additions and 2 deletions

27
pyproject.toml Normal file
View File

@ -0,0 +1,27 @@
[project]
name = "Fun-ASR"
version = "0.1.0"
description = "语音识别/处理相关项目"
readme = "README.md"
requires-python = ">=3.12,<3.13"
dependencies = [
"torch>=2.9.0",
"torchaudio>=2.9.0",
"transformers>=4.51.3",
"funasr>=1.3.0",
"zhconv",
"whisper_normalizer",
"pyopenjtalk-plus",
"compute-wer",
"openai-whisper",
"python-multipart==0.0.20",
"fastapi>=0.128.0",
"uvicorn>=0.40.0",
]
[tool.uv]
package = false # 声明这只是一个应用程序,不是一个库
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"