Jacobo commited on
Commit
3eca8b0
1 Parent(s): 08c0f9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ text = st.text_area("","Ὁ μὲν δὴ Συλοσῶν ἠπίστατο το
27
 
28
 
29
  nlp = spacy.load(spacy_model)
 
30
  doc = nlp(text)
31
 
32
  def get_html(html: str):
 
27
 
28
 
29
  nlp = spacy.load(spacy_model)
30
+ nlp.add_pipe("sentencizer", before="parser")
31
  doc = nlp(text)
32
 
33
  def get_html(html: str):