Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ button = st.button("Extract Keywords")
|
|
| 47 |
#keyphrases = [candidate[0] for candidate in candidates]
|
| 48 |
#kw_model = KeyBERT(model="google/bigbird-pegasus-large-bigpatent")
|
| 49 |
|
| 50 |
-
predict_fn(text, model)
|
| 51 |
|
| 52 |
#if keywords != []:
|
| 53 |
#keywords = model.extract_keywords(text_input,keyphrases, keyphrase_ngram_range=(1, 3),
|
|
|
|
| 47 |
#keyphrases = [candidate[0] for candidate in candidates]
|
| 48 |
#kw_model = KeyBERT(model="google/bigbird-pegasus-large-bigpatent")
|
| 49 |
|
| 50 |
+
print(predict_fn(text, model))
|
| 51 |
|
| 52 |
#if keywords != []:
|
| 53 |
#keywords = model.extract_keywords(text_input,keyphrases, keyphrase_ngram_range=(1, 3),
|