pip install -q torch_state_bridge srt webrtcvad torchcodec
from transformers import AutoModel
model = AutoModel.from_pretrained("shethjenil/Indic-STT", language="hi", trust_remote_code=True, dtype="auto")
wav , sr = torchaudio.load("audio.wav")
for i in model.transcribe(wav,sr,4):
    print("".join(i.splitlines()[2::4]).replace("โ–"," ").replace("<line>","\n"))
full_model = AutoModel.from_pretrained("shethjenil/Indic-STT", trust_remote_code=True, dtype="auto")
full_model.language = "hi"
Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using shethjenil/Indic-STT 1