MrGanesh commited on
Commit
ec3ebf1
1 Parent(s): 5419ded

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ candidates=kw_extractor.extract_keywords(text)
21
  candidates=[candidate[0] for candidate in candidates]
22
  from keyphrase_vectorizers import KeyphraseCountVectorizer
23
  vectorizer=KeyphraseCountVectorizer(stop_words=patseer_stopwords)
24
- keywords=kw_model.extract_keywords(text,keyphrase_ngram_range=(1, 3),top_n=50,vectorizer=KeyphraseCountVectorizer())
25
 
26
  if keywords != []:
27
  st.info("Extracted keywords")
 
21
  candidates=[candidate[0] for candidate in candidates]
22
  from keyphrase_vectorizers import KeyphraseCountVectorizer
23
  vectorizer=KeyphraseCountVectorizer(stop_words=patseer_stopwords)
24
+ keywords=kw_model.extract_keywords(text,candidates,keyphrase_ngram_range=(1, 3),top_n=50,vectorizer=KeyphraseCountVectorizer())
25
 
26
  if keywords != []:
27
  st.info("Extracted keywords")