Altered my project file
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
6 |
# Load the model and tokenizer
|
7 |
# tokenizer = AutoTokenizer.from_pretrained("ikoghoemmanuell/finetuned_sentiment_modell")
|
8 |
# model = AutoModelForSequenceClassification.from_pretrained("ikoghoemmanuell/finetuned_sentiment_modell")
|
9 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
10 |
-
model = AutoModelForSequenceClassification.from_pretrained("
|
11 |
|
12 |
# Define the function for sentiment analysis
|
13 |
@st.cache_resource
|
|
|
6 |
# Load the model and tokenizer
|
7 |
# tokenizer = AutoTokenizer.from_pretrained("ikoghoemmanuell/finetuned_sentiment_modell")
|
8 |
# model = AutoModelForSequenceClassification.from_pretrained("ikoghoemmanuell/finetuned_sentiment_modell")
|
9 |
+
tokenizer = AutoTokenizer.from_pretrained("Justin-J/finetuned_sentiment_modell")
|
10 |
+
model = AutoModelForSequenceClassification.from_pretrained("Justin-J/finetuned_sentiment_modell")
|
11 |
|
12 |
# Define the function for sentiment analysis
|
13 |
@st.cache_resource
|