Spaces:
Runtime error
Runtime error
Commit
·
93ed5b8
1
Parent(s):
9ba53c0
Update asr.py
Browse files
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)
|