Spaces:
Runtime error
Runtime error
Commit
·
6b4b2b8
1
Parent(s):
a9d91ed
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,6 @@ etsy_model = KeyBERT(model=hf_model)
|
|
| 11 |
|
| 12 |
text = st.text_area("Enter title here for the summarization:")
|
| 13 |
|
| 14 |
-
if
|
| 15 |
-
out =
|
| 16 |
st.json(out)
|
|
|
|
| 11 |
|
| 12 |
text = st.text_area("Enter title here for the summarization:")
|
| 13 |
|
| 14 |
+
if st.button('Generate'):
|
| 15 |
+
out = etsy_model(text)
|
| 16 |
st.json(out)
|