dayannex commited on
Commit
50e76ab
·
1 Parent(s): c64e06b

app texto limite size

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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