lterriel commited on
Commit
bff1e49
1 Parent(s): b7b78f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ if flag_model:
124
  with streamlit.spinner('NER processing...'):
125
  if linking:
126
  start_sentence = 0
127
- docs = nlp.pipe(sentences, batch_size=100)
128
  for doc in docs:
129
  end_sentence = start_sentence + len(doc.text) + 1
130
  for ent in doc.ents:
 
124
  with streamlit.spinner('NER processing...'):
125
  if linking:
126
  start_sentence = 0
127
+ docs = nlp.pipe(sentences, batch_size=150)
128
  for doc in docs:
129
  end_sentence = start_sentence + len(doc.text) + 1
130
  for ent in doc.ents: