Minor cleaning 4338527
Siddhant commited on
How to use espnet/fsc_challenge_slu_2pass_transformer with ESPnet:
from espnet2.bin.asr_inference import Speech2Text
model = Speech2Text.from_pretrained(
"espnet/fsc_challenge_slu_2pass_transformer"
)
speech, rate = soundfile.read("speech.wav")
text, *_ = model(speech)[0]