Views
No views yet
from huggingsound import SpeechRecognitionModel
model = SpeechRecognitionModel("AstralZander/igbo_ASR")
audio_paths = [audio_path] # List with paths to audio
transcriptions = model.transcribe(audio_paths)
transcriptions # List of transcriptions, timestamps and probabilities
transcriptions[ind_audio]['transcription'] # Transcription of audio with the ind_audio index from the audio_paths list