Spaces:
Running
Running
app texto limite size
Browse files
app.py
CHANGED
@@ -243,7 +243,7 @@ class Model:
|
|
243 |
|
244 |
return (
|
245 |
|
246 |
-
self.texto,
|
247 |
out1,
|
248 |
str(out2)
|
249 |
|
@@ -254,7 +254,7 @@ def get_model():
|
|
254 |
return model
|
255 |
|
256 |
def procesar(texto):
|
257 |
-
model.identificacion_idioma(texto)
|
258 |
|
259 |
return model.predict()
|
260 |
|
|
|
243 |
|
244 |
return (
|
245 |
|
246 |
+
self.texto[:1869],
|
247 |
out1,
|
248 |
str(out2)
|
249 |
|
|
|
254 |
return model
|
255 |
|
256 |
def procesar(texto):
|
257 |
+
model.identificacion_idioma(texto[:1869])
|
258 |
|
259 |
return model.predict()
|
260 |
|