Spaces:
Runtime error
Runtime error
Commit
Β·
1c6a63a
1
Parent(s):
ecfc2c4
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def keyphrase_generator(article_link, model_1, model_2, max_num_keywords, model_
|
|
| 80 |
final_list=[]
|
| 81 |
score_list=[]
|
| 82 |
sum_list=[]
|
| 83 |
-
|
| 84 |
model_1 = SentenceTransformer(model_1)
|
| 85 |
model_2 = SentenceTransformer(model_2)
|
| 86 |
url = article_link
|
|
|
|
| 80 |
final_list=[]
|
| 81 |
score_list=[]
|
| 82 |
sum_list=[]
|
| 83 |
+
############################################## Here we first extract the sentences using SBERT and Textrank ###########################
|
| 84 |
model_1 = SentenceTransformer(model_1)
|
| 85 |
model_2 = SentenceTransformer(model_2)
|
| 86 |
url = article_link
|