Update app.py
Browse files
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(
|