Jacobo commited on
Commit
1dee938
·
1 Parent(s): 5d29147

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ st.header("Enter text:")
26
  text = st.text_area("","Ὁ μὲν δὴ Συλοσῶν ἠπίστατο τοῦτό οἱ ἀπολωλέναι δι' εὐηθείην.")
27
 
28
 
29
- nlp = spacy.load(spacy_model, config={"pipeline": ["morphologizer","tagger","sentencizer","parser","trainable_lemmatizer","attribute_ruler"})
30
 
31
  # Get the new pipeline order
32
  print(nlp.pipe_names) # Output: ['ner', 'tagger', 'parser'])
 
26
  text = st.text_area("","Ὁ μὲν δὴ Συλοσῶν ἠπίστατο τοῦτό οἱ ἀπολωλέναι δι' εὐηθείην.")
27
 
28
 
29
+ nlp = spacy.load(spacy_model, config={"pipeline": ["morphologizer","tagger","sentencizer","parser","trainable_lemmatizer","attribute_ruler"]})
30
 
31
  # Get the new pipeline order
32
  print(nlp.pipe_names) # Output: ['ner', 'tagger', 'parser'])