Jackie2235 commited on
Commit
6b4b2b8
·
1 Parent(s): a9d91ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 text:
15
- out = pipe(text)
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)