AGIvan commited on
Commit
f36b7ea
·
verified ·
1 Parent(s): a7fdfb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ st.header("Generate candidate titles for articles")
11
 
12
  st_model_load = st.text('Loading title generator model...')
13
 
14
- @st.cache_data(allow_output_mutation=True)
15
  def load_model():
16
  print("Loading model...")
17
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
11
 
12
  st_model_load = st.text('Loading title generator model...')
13
 
14
+ @st.cache_data()
15
  def load_model():
16
  print("Loading model...")
17
  tokenizer = AutoTokenizer.from_pretrained(model_name)