Burcin commited on
Commit
c3415fe
·
1 Parent(s): 7272581

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -19,7 +19,6 @@ def get_wiki_summary(inp):
19
  print(text)
20
 
21
  stopwords = list(STOP_WORDS)
22
- nlp = spacy.load("en_core_web_sm")
23
 
24
  lemmatizer = WordNetLemmatizer()
25
  tokens = [lemmatizer.lemmatize(str(token).lower()) for token in nltk.word_tokenize(text) if str(token) not in punctuation and str(token).lower() not in stopwords and len(token) >1]
 
19
  print(text)
20
 
21
  stopwords = list(STOP_WORDS)
 
22
 
23
  lemmatizer = WordNetLemmatizer()
24
  tokens = [lemmatizer.lemmatize(str(token).lower()) for token in nltk.word_tokenize(text) if str(token) not in punctuation and str(token).lower() not in stopwords and len(token) >1]