Spaces:
Runtime error
Runtime error
Commit ·
e89867e
1
Parent(s): a226bb9
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,10 +13,10 @@ def get_bert_keywords(text, num_keywords):
|
|
| 13 |
st.title("Keyword Extraction with KeyBERT")
|
| 14 |
text = st.text_area("Enter your text here:", value='', height=200)
|
| 15 |
|
| 16 |
-
if st.button("Extract Keywords"):
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 13 |
st.title("Keyword Extraction with KeyBERT")
|
| 14 |
text = st.text_area("Enter your text here:", value='', height=200)
|
| 15 |
|
| 16 |
+
# if st.button("Extract Keywords"):
|
| 17 |
+
# if text:
|
| 18 |
+
# keywords = get_bert_keywords(text, 5)
|
| 19 |
+
# st.write("Keywords:")
|
| 20 |
+
# st.write(", ".join(keywords))
|
| 21 |
+
# else:
|
| 22 |
+
# st.error("Please enter some text.")
|