MrGanesh commited on
Commit
6a4af56
·
1 Parent(s): faf760a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,11 +5,11 @@ import yake
5
  from keyphrase_vectorizers import KeyphraseCountVectorizer
6
 
7
  @st.cache(allow_output_mutation=True, suppress_st_warning=True, show_spinner=True)
8
- #def load_model():
9
  #model = KeyBERT("google/bigbird-pegasus-large-bigpatent")
10
  #return model
11
 
12
- #model = load_model()
13
  st.title("Patent Text Extractor")
14
  placeholder = st.empty()
15
  text_input = placeholder.text_area("Paste or write text", height=300)
 
5
  from keyphrase_vectorizers import KeyphraseCountVectorizer
6
 
7
  @st.cache(allow_output_mutation=True, suppress_st_warning=True, show_spinner=True)
8
+ def load_model():
9
  #model = KeyBERT("google/bigbird-pegasus-large-bigpatent")
10
  #return model
11
 
12
+ model = load_model()
13
  st.title("Patent Text Extractor")
14
  placeholder = st.empty()
15
  text_input = placeholder.text_area("Paste or write text", height=300)