lkurakht commited on
Commit
1f936e9
1 Parent(s): 4c51699

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ classes = ['pt', 'pt_br']
23
  class_label = ClassLabel(names=classes)
24
 
25
 
26
- @st.cache_data
27
  def get_model():
28
  return BertForSequenceClassification.from_pretrained(
29
  './pt_br_model',
 
23
  class_label = ClassLabel(names=classes)
24
 
25
 
26
+ @st.cache
27
  def get_model():
28
  return BertForSequenceClassification.from_pretrained(
29
  './pt_br_model',