Spaces:
Sleeping
Sleeping
Edward Tan
commited on
Commit
·
75fd758
1
Parent(s):
4c12c2a
update error
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ 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 =
|
| 6 |
|
| 7 |
def greet_and_transcribe(name, intensity, input_audio):
|
| 8 |
input_audio_rs = librosa.resample(
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
local_model_name = "wav2vec2_model_pipeline"
|
| 5 |
+
speech_recognizer = pipeline("automatic-speech-recognition", model = local_model_name)
|
| 6 |
|
| 7 |
def greet_and_transcribe(name, intensity, input_audio):
|
| 8 |
input_audio_rs = librosa.resample(
|