dayannex commited on
Commit
1735cb3
·
1 Parent(s): 7ca333b

app modified

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -348,14 +348,14 @@ class ModeloDataset:
348
 
349
 
350
 
351
- #new_tokens=[]
352
- #ig_tok=[]
353
- #new_identificadores=[]
354
- #for item in tokenized_text:
355
- # aux1, aux2= self.reordenacion_tokens(item)
356
- # new_tokens.append(aux1)
357
- # ig_tok.append(aux2)
358
-
359
 
360
  #for item in _predicted_tokens_classes:
361
  # new_identificadores.append(self.reordenacion_identificadores(ig_tok,item))
 
348
 
349
 
350
 
351
+ new_tokens=[]
352
+ ig_tok=[]
353
+ new_identificadores=[]
354
+ for item in tokenized_text:
355
+ aux1, aux2= self.reordenacion_tokens(item)
356
+ new_tokens.append(aux1)
357
+ ig_tok.append(aux2)
358
+ print('new_tokens',new_tokens)
359
 
360
  #for item in _predicted_tokens_classes:
361
  # new_identificadores.append(self.reordenacion_identificadores(ig_tok,item))