Spaces:
Runtime error
Runtime error
Commit
·
ab71994
1
Parent(s):
dd021f5
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,5 +13,5 @@ etsy_model = KeyBERT(model=hf_model)
|
|
| 13 |
text = st.text_area("Enter title here for the summarization:")
|
| 14 |
|
| 15 |
if st.button('Generate'):
|
| 16 |
-
out = etsy_model.extract_keywords(
|
| 17 |
st.json(out)
|
|
|
|
| 13 |
text = st.text_area("Enter title here for the summarization:")
|
| 14 |
|
| 15 |
if st.button('Generate'):
|
| 16 |
+
out = etsy_model.extract_keywords(text, keyphrase_ngram_range=(1,3), stop_words='english')
|
| 17 |
st.json(out)
|