Santenana commited on
Commit
b897eec
·
1 Parent(s): 19adc70
Files changed (1) hide show
  1. .py +11 -0
.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ def transcribe(audio):
2
+ text = trans(audio)["text"]
3
+ return text
4
+
5
+ def clasificacion(text):
6
+ return clasificador(text)[0]["label"]
7
+
8
+
9
+ def clasifica_imagen(img):
10
+ class_img = imagen(img)
11
+ return class_img