Spaces:
Runtime error
Runtime error
Commit
·
0f7962f
1
Parent(s):
8d1a132
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,8 @@ model = TFDistilBertForSequenceClassification.from_pretrained("kaixinwang/NLP")
|
|
26 |
|
27 |
# build the tokenizer
|
28 |
MODEL_NAME = 'distilbert-base-uncased'
|
29 |
-
tokenizer = DistilBertTokenizer.from_pretrained(MODEL_NAME)
|
|
|
30 |
|
31 |
mapping = {0:"Negative", 1:"Positive"}
|
32 |
# prompt for the user input
|
|
|
26 |
|
27 |
# build the tokenizer
|
28 |
MODEL_NAME = 'distilbert-base-uncased'
|
29 |
+
# tokenizer = DistilBertTokenizer.from_pretrained(MODEL_NAME)
|
30 |
+
tokenizer = DistilBertTokenizer.from_pretrained("kaixinwang-/NLP")
|
31 |
|
32 |
mapping = {0:"Negative", 1:"Positive"}
|
33 |
# prompt for the user input
|