desarrolloasesoreslocales commited on
Commit
371967d
1 Parent(s): 23d75e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def predict(payload):
29
 
30
  recorte_general = ""
31
 
32
- for chunk in cortar_en_bloques(s, 90):
33
  if model.predict([chunk]).item() == 1:
34
  recorte_general += chunk + " "
35
 
 
29
 
30
  recorte_general = ""
31
 
32
+ for chunk in cortar_en_bloques(payload, 90):
33
  if model.predict([chunk]).item() == 1:
34
  recorte_general += chunk + " "
35