dayannex commited on
Commit
25bf21a
·
1 Parent(s): a6e721c

app modified

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -350,6 +350,7 @@ class ModeloDataset:
350
 
351
  new_tokens=[]
352
  ig_tok=[]
 
353
  new_identificadores=[]
354
  for item in tokenized_text:
355
  print('len(tokens)',len(item))
@@ -361,9 +362,9 @@ class ModeloDataset:
361
 
362
  for items in _predicted_tokens_classes:
363
  print('len(_predicted_tokens_classes)',len(items))
364
- aux=self.reordenacion_identificadores(ig_tok,items)
365
  new_identificadores.append(aux)
366
-
367
  print('new_identificadores',new_identificadores)
368
 
369
  #return new_identificadores, new_tokens
 
350
 
351
  new_tokens=[]
352
  ig_tok=[]
353
+ i=0
354
  new_identificadores=[]
355
  for item in tokenized_text:
356
  print('len(tokens)',len(item))
 
362
 
363
  for items in _predicted_tokens_classes:
364
  print('len(_predicted_tokens_classes)',len(items))
365
+ aux=self.reordenacion_identificadores(ig_tok[i],items)
366
  new_identificadores.append(aux)
367
+ i=i+1
368
  print('new_identificadores',new_identificadores)
369
 
370
  #return new_identificadores, new_tokens