SorrelC commited on
Commit
ee1cc9d
·
verified ·
1 Parent(s): 265b9be

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -3
requirements.txt CHANGED
@@ -10,8 +10,13 @@ yake>=0.4.8
10
  rake-nltk>=1.0.6
11
  nltk==3.8.1
12
 
13
- # For TF-IDF and TextRank
14
  scikit-learn>=1.0.0
15
- networkx>=2.8 # For TextRank algorithm
16
 
17
- # That's all - no heavy transformer models needed!
 
 
 
 
 
 
10
  rake-nltk>=1.0.6
11
  nltk==3.8.1
12
 
13
+ # For TF-IDF and TextRank helpers
14
  scikit-learn>=1.0.0
15
+ networkx>=2.8
16
 
17
+ # pke: the paper's keyphrase methods (TopicRank, MultipartiteRank, PositionRank, TextRank)
18
+ git+https://github.com/boudinfl/pke.git
19
+ spacy>=3.7,<3.8
20
+
21
+ # spaCy model installed as a wheel (do NOT rely on `python -m spacy download` on Spaces)
22
+ en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl