Justin-J commited on
Commit
46e4f66
1 Parent(s): fb8e169

Altered my project file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("jabojustin/finetuned_sentiment_modell")
10
- model = AutoModelForSequenceClassification.from_pretrained("jabojustin/finetuned_sentiment_modell")
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