using faster-whisper instead of openai whisper

use uv instead of pip
This commit is contained in:
2026-07-28 23:12:18 +02:00
parent f5cf067dbd
commit 1ec8a12f18
9 changed files with 779 additions and 58 deletions
+13 -4
View File
@@ -4,7 +4,7 @@ requires = ["setuptools>=82.0.1", "wheel"]
[project]
name = "audio_server"
description = "a fastapi server serving whisper and piper"
version = "1.0.0"
version = "2.0.0"
authors = [
{ name = 'Milan', email = 'milan@mboemer.de' }
]
@@ -12,10 +12,19 @@ license = "GPL-3.0"
requires-python = '>=3.12'
dynamic = ["dependencies"]
dependencies = [
"faster-whisper~=1.2.1",
"fastapi~=0.140.13",
"psutil~=7.2.2",
"uvicorn~=0.51.0",
"starlette~=1.3.1",
"python-multipart~=0.0.24",
"aiofiles~=25.1.0",
"piper-tts~=1.6.0",
"PyYAML~=6.0.3",
]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[tool.setuptools.packages.find]
where = ['src']