Spaces:
Runtime error
Runtime error
dmitrysluch
commited on
Commit
•
1ef8cd1
1
Parent(s):
bba4e4b
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ st.title('🏴☠️ Classify a scientific article')
|
|
15 |
text = st.text_area("Type article title and/or summary",
|
16 |
placeholder="Probabilistic Constructions of Computable Objects and a Computable Version of Lovasz Local Lemma", height=5, max_chars=4096)
|
17 |
|
18 |
-
@st.cache
|
19 |
def get_tokenizer_and_model():
|
20 |
model_name = 'distilbert-base-uncased'
|
21 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
15 |
text = st.text_area("Type article title and/or summary",
|
16 |
placeholder="Probabilistic Constructions of Computable Objects and a Computable Version of Lovasz Local Lemma", height=5, max_chars=4096)
|
17 |
|
|
|
18 |
def get_tokenizer_and_model():
|
19 |
model_name = 'distilbert-base-uncased'
|
20 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|