Add-Vishnu commited on
Commit
93ed5b8
·
1 Parent(s): 9ba53c0

Update asr.py

Browse files
Files changed (1) hide show
  1. asr.py +1 -0
asr.py CHANGED
@@ -4,6 +4,7 @@ from transformers import Wav2Vec2ForSequenceClassification, AutoFeatureExtractor
4
  import time
5
  import gradio as gr
6
  import librosa
 
7
 
8
  model_id = "facebook/mms-1b-all"
9
  processor = AutoProcessor.from_pretrained(model_id)
 
4
  import time
5
  import gradio as gr
6
  import librosa
7
+ import numpy as np
8
 
9
  model_id = "facebook/mms-1b-all"
10
  processor = AutoProcessor.from_pretrained(model_id)