ArneBinder commited on
Commit
b9f5137
1 Parent(s): 7f4ecbd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def predict(text):
30
  ner_pipeline(document)
31
 
32
  while len(document.entities.predictions) > 0:
33
- document.entities.append(document.entities.predictions.pop())
34
 
35
  re_pipeline(document)
36
 
 
30
  ner_pipeline(document)
31
 
32
  while len(document.entities.predictions) > 0:
33
+ document.entities.append(document.entities.predictions.pop(0))
34
 
35
  re_pipeline(document)
36