Spaces:
Sleeping
Sleeping
app formato
Browse files
app.py
CHANGED
@@ -526,7 +526,7 @@ def procesar(texto,archivo, etiquetas):
|
|
526 |
if len(texto)>0:
|
527 |
print('text')
|
528 |
model.identificacion_idioma(texto)
|
529 |
-
return model.idioma + "/" + model.categoria_texto,model.predict(etiquetas),gr.Dataframe(),gr.File()
|
530 |
else:
|
531 |
|
532 |
if archivo.name.split(".")[1]=="csv":
|
|
|
526 |
if len(texto)>0:
|
527 |
print('text')
|
528 |
model.identificacion_idioma(texto)
|
529 |
+
return model.idioma + "/" + model.categoria_texto, model.predict(etiquetas),gr.Dataframe(),gr.File()
|
530 |
else:
|
531 |
|
532 |
if archivo.name.split(".")[1]=="csv":
|