Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ from transformers import AutoTokenizer
|
|
4 |
from transformers import AutoModelForSequenceClassification
|
5 |
from transformers import pipeline
|
6 |
|
7 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
8 |
|
9 |
-
model = AutoModelForSequenceClassification.from_pretrained("
|
10 |
st.title("Text Classification with BERT")
|
11 |
|
12 |
text = st.text_input("Enter some text")
|
|
|
4 |
from transformers import AutoModelForSequenceClassification
|
5 |
from transformers import pipeline
|
6 |
|
7 |
+
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
8 |
|
9 |
+
model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased")
|
10 |
st.title("Text Classification with BERT")
|
11 |
|
12 |
text = st.text_input("Enter some text")
|