domro11 commited on
Commit
53afcf4
·
1 Parent(s): 5aa077f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def main():
88
  st.subheader("Keyword Extraction")
89
  #loading the pipeline
90
  model_name = "yanekyuk/bert-uncased-keyword"
91
- keyword_extractor = pipeline("text2text-generation", model=model_name, tokenizer=model_name, config={"wordwise": True})
92
  input_text = st.text_area("Enter some text:")
93
 
94
  if st.button("Extract Keywords"):
 
88
  st.subheader("Keyword Extraction")
89
  #loading the pipeline
90
  model_name = "yanekyuk/bert-uncased-keyword"
91
+ keyword_extractor = pipeline("text2text-generation", model=model_name, tokenizer=model_name)
92
  input_text = st.text_area("Enter some text:")
93
 
94
  if st.button("Extract Keywords"):