Edward Tan commited on
Commit
1d99247
·
1 Parent(s): 5a22ed5

Correcting app.py error

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  from transformers import pipeline
2
  import gradio as gr
 
3
 
4
  local_model_name = "wav2vec2_model_pipeline"
5
  speech_recognizer = pipeline("automatic-speech-recognition", model = local_model_name)
 
1
  from transformers import pipeline
2
  import gradio as gr
3
+ import librosa
4
 
5
  local_model_name = "wav2vec2_model_pipeline"
6
  speech_recognizer = pipeline("automatic-speech-recognition", model = local_model_name)