Spaces:
Runtime error
Runtime error
updated
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ LARGE_MODEL_BY_LANGUAGE = {
|
|
7 |
"Korean": {"model_id": "kresnik/wav2vec2-large-xlsr-korean", "has_lm": True},
|
8 |
}
|
9 |
|
10 |
-
p=pipeline(
|
11 |
|
12 |
def transcribe(audio, state=""):
|
13 |
time.sleep(2)
|
|
|
7 |
"Korean": {"model_id": "kresnik/wav2vec2-large-xlsr-korean", "has_lm": True},
|
8 |
}
|
9 |
|
10 |
+
p=pipeline("automatic-speech-recognition", model="kresnik/wav2vec2-large-xlsr-korean")
|
11 |
|
12 |
def transcribe(audio, state=""):
|
13 |
time.sleep(2)
|