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