BillBojangeles2000 commited on
Commit
e9d3c2b
·
1 Parent(s): 3c5ee9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ cleaned_text = re.sub(r'[^a-zA-Z0-9.,]', ' ', cleaned_text)
31
  paragraphs = [p.strip() for p in re.split(r'\n', cleaned_text) if p.strip()]
32
 
33
  # Process text using SpaCy
34
- nlp = spacy.load("en_core_web_lg")
35
  doc = nlp(cleaned_text)
36
 
37
  sentences = [sent.text for sent in doc.sents]
 
31
  paragraphs = [p.strip() for p in re.split(r'\n', cleaned_text) if p.strip()]
32
 
33
  # Process text using SpaCy
34
+ nlp = spacy.load("en_core_web_sm")
35
  doc = nlp(cleaned_text)
36
 
37
  sentences = [sent.text for sent in doc.sents]