-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (68 loc) · 1.79 KB
/
pyproject.toml
File metadata and controls
83 lines (68 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# ---- All project specifications ---- #
[project]
name = "simulstream"
description = "A server to run simultaneous/streaming experiments and demo"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [
{ name = "Marco Gaido", email = "mgaido@fbk.eu" },
{ name = "FBK HLT-MT", email = "mt@fbk.eu" },
]
keywords = ["simultaneous", "demo", "websocket", "streaming"]
dependencies = [
"pyyaml>6.0",
"websockets",
"torch",
"librosa"
]
dynamic = ["version"]
[project.urls]
GitHub = "https://github.com/hlt-mt/simulstream"
Issues = "https://github.com/hlt-mt/simulstream/issues"
[project.scripts]
# Server
simulstream_server = "simulstream.server.websocket_server:cli_main"
simulstream_demo_http_server = "simulstream.server.http_server:cli_main"
# Client
simulstream_wavs_client = "simulstream.client.wav_reader_client:cli_main"
# Evaluation
simulstream_inference = "simulstream.inference:cli_main"
simulstream_score_quality = "simulstream.metrics.score_quality:cli_main"
simulstream_score_latency = "simulstream.metrics.score_latency:cli_main"
simulstream_stats = "simulstream.metrics.stats:cli_main"
[project.optional-dependencies]
dev = [
"pytest==7.4.0",
"flake8",
"sphinx",
"sphinx-rtd-theme",
"build",
"twine",
]
hf = [
"transformers==4.48.1",
]
canary = [
"Cython",
"nemo_toolkit[asr]==2.4.0",
]
vad = [
"silero-vad"
]
eval = [
"unbabel-comet==2.2.6",
"mweralign",
"sacrebleu"
]
[tool.setuptools.dynamic]
version = {file = "simulstream/VERSION.txt"}
# ---- Explicit project build information ---- #
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = [""]
[tool.setuptools.package-data]
webdemo = ["webdemo"]
configs = ["config"]