1NEYRON1 commited on
Commit
3805ab7
·
verified ·
1 Parent(s): 8268e3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -141,7 +141,6 @@ id_to_cat = {0: 'High Energy Physics - Theory',
141
  137: 'Disordered Systems and Neural Networks'
142
  }
143
 
144
- @st.cache_resource
145
  def load_model():
146
  tokenizer = AutoTokenizer.from_pretrained('distilbert-base-cased')
147
  model = AutoModelForSequenceClassification.from_pretrained(
 
141
  137: 'Disordered Systems and Neural Networks'
142
  }
143
 
 
144
  def load_model():
145
  tokenizer = AutoTokenizer.from_pretrained('distilbert-base-cased')
146
  model = AutoModelForSequenceClassification.from_pretrained(