Multiples_modelos / funciones.py
Santenana's picture
Rename .py to funciones.py
4628e2e
raw
history blame
216 Bytes
def transcribe(audio):
text = trans(audio)["text"]
return text
def clasificacion(text):
return clasificador(text)[0]["label"]
def clasifica_imagen(img):
class_img = imagen(img)
return class_img