add requirments.txt

This commit is contained in:
Yuekai Zhang 2024-01-19 17:48:08 +08:00
parent 72c9d01724
commit 38f5f45c67
2 changed files with 12 additions and 1 deletions

View File

@ -39,6 +39,7 @@ from icefall.decode import (
one_best_decoding,
rescore_with_attention_decoder,
)
from lhotse.cut import Cut
from icefall.env import get_env_info
from icefall.lexicon import Lexicon
from icefall.utils import (
@ -257,7 +258,7 @@ def decode_one_batch(
hyps = to_simple(hyps)
hyps = [params.normalizer.normalize(hyp) for hyp in hyps]
print(hyps)
key = "beam-search"
return {key: hyps}

View File

@ -0,0 +1,10 @@
k2
kaldialign
git+https://github.com/lhotse-speech/lhotse
sentencepiece
tensorboard
librosa
openai-whisper==20231117
zhconv
WeTextProcessing
deepspeed