Spaces:
Runtime error
Runtime error
JUEPUTAVIDAA
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
def transcribe(audio):
|
2 |
text = trans(audio)["text"]
|
3 |
return text
|
|
|
1 |
+
imagen = pipeline('image-classification',model='huggingface/microsoft/swin-tiny-patch4-window7-224')
|
2 |
+
trans = pipeline("automatic-speech-recognition",model="facebook/wav2vec2-large-xlsr-53-spanish")
|
3 |
+
clasificador = pipeline('text-classification',model="pysentimiento/robertuito-sentiment-analysis")
|
4 |
+
|
5 |
def transcribe(audio):
|
6 |
text = trans(audio)["text"]
|
7 |
return text
|