1NEYRON1 commited on
Commit
e071fb5
·
1 Parent(s): 1b304ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -142,7 +142,6 @@ id_to_cat = {
142
  137: 'Algebraic Geometry'
143
  }
144
 
145
- @st.cache_resource
146
  def load_model():
147
  tokenizer = AutoTokenizer.from_pretrained('distilbert-base-cased')
148
  model = AutoModelForSequenceClassification.from_pretrained(
 
142
  137: 'Algebraic Geometry'
143
  }
144
 
 
145
  def load_model():
146
  tokenizer = AutoTokenizer.from_pretrained('distilbert-base-cased')
147
  model = AutoModelForSequenceClassification.from_pretrained(