Spaces:
Runtime error
Runtime error
DeeeTeeee01
commited on
Commit
•
9c95dae
1
Parent(s):
5730c87
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ tokenizer = transformers.AutoTokenizer.from_pretrained("DeeeTeeee01/mytest_train
|
|
10 |
@st.cache_resource
|
11 |
def predict_sentiment(text):
|
12 |
# Load the pipeline
|
13 |
-
pipeline = transformers.pipeline("sentiment-analysis, model = "DeeeTeeee01/mytest_trainer_roberta-base", tokenizer= "DeeeTeeee01/mytest_trainer_roberta-base")
|
14 |
|
15 |
|
16 |
# Predict the sentiment
|
|
|
10 |
@st.cache_resource
|
11 |
def predict_sentiment(text):
|
12 |
# Load the pipeline
|
13 |
+
pipeline = transformers.pipeline("sentiment-analysis", model = "DeeeTeeee01/mytest_trainer_roberta-base", tokenizer= "DeeeTeeee01/mytest_trainer_roberta-base")
|
14 |
|
15 |
|
16 |
# Predict the sentiment
|