Santenana commited on
Commit
6c061e6
·
1 Parent(s): 7f6d47e

JUEPUTAVIDAA

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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