Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
5 |
|
6 |
model_ckpt = "Yah216/Sentiment_Analysis_CAMelBERT_msa_sixteenth_HARD"
|
7 |
|
8 |
-
pipe = pipeline("text
|
9 |
#from transformers import AutoTokenizer, TFAutoModelForSequenceClassification
|
10 |
|
11 |
#tokenizer = AutoTokenizer.from_pretrained("Yah216/Sentiment_Analysis_CAMelBERT_msa_sixteenth_HARD")
|
|
|
5 |
|
6 |
model_ckpt = "Yah216/Sentiment_Analysis_CAMelBERT_msa_sixteenth_HARD"
|
7 |
|
8 |
+
pipe = pipeline("text-clasification", model_ckpt)
|
9 |
#from transformers import AutoTokenizer, TFAutoModelForSequenceClassification
|
10 |
|
11 |
#tokenizer = AutoTokenizer.from_pretrained("Yah216/Sentiment_Analysis_CAMelBERT_msa_sixteenth_HARD")
|