Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Santenana
/
Multiples_modelos
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b6a098b
Multiples_modelos
/
funciones.py
Santenana
Rename .py to funciones.py
4628e2e
about 2 years ago
raw
Copy download link
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