8d517b3ea8
Split monolithic transcribe.py into focused modules under src/cohere_transcribe/ (model, vad, stream, cli), move tests into tests/, add hatchling build system and CLI entry point, remove unused shell.nix and main.py. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
629 B
TOML
28 lines
629 B
TOML
[project]
|
|
name = "cohere-transcribe"
|
|
version = "0.1.0"
|
|
description = "Live speech transcription using Cohere ASR"
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"accelerate>=1.13.0",
|
|
"huggingface-hub>=1.16.1",
|
|
"librosa>=0.11.0",
|
|
"protobuf>=7.35.0",
|
|
"sentencepiece>=0.2.1",
|
|
"sounddevice>=0.5.5",
|
|
"soundfile>=0.13.1",
|
|
"torch>=2.12.0",
|
|
"transformers>=5.9.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
cohere-transcribe = "cohere_transcribe.cli:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.backends"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/cohere_transcribe"]
|