Spaces:
Sleeping
Sleeping
Changed models
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import torch
|
|
3 |
from transformers import pipeline
|
4 |
import numpy as np
|
5 |
|
6 |
-
pipe_base = pipeline("automatic-speech-recognition", model="
|
7 |
-
pipe_small = pipeline("automatic-speech-recognition", model="aitor-medrano/whisper-
|
8 |
|
9 |
def greet(modelo, grabacion):
|
10 |
sr, y = grabacion
|
|
|
3 |
from transformers import pipeline
|
4 |
import numpy as np
|
5 |
|
6 |
+
pipe_base = pipeline("automatic-speech-recognition", model="aitor-medrano/lara-base-pushed")
|
7 |
+
pipe_small = pipeline("automatic-speech-recognition", model="aitor-medrano/whisper-base-lara")
|
8 |
|
9 |
def greet(modelo, grabacion):
|
10 |
sr, y = grabacion
|