wzkariampuzha commited on
Commit
2360c00
1 Parent(s): 4e45f70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ filtering = st.sidebar.radio("What type of filtering would you like?",('Strict',
39
 
40
  extract_diseases = st.sidebar.checkbox("Extract Rare Diseases", value=False)
41
 
42
- @st.cache
43
  def load_models():
44
  # load the tokenizer
45
  with open('tokenizer.pickle', 'rb') as handle:
 
39
 
40
  extract_diseases = st.sidebar.checkbox("Extract Rare Diseases", value=False)
41
 
42
+ @st.cache(allow_output_mutation=True)
43
  def load_models():
44
  # load the tokenizer
45
  with open('tokenizer.pickle', 'rb') as handle: