mancatha commited on
Commit
a5119e5
·
1 Parent(s): 66fd837

app_update

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,9 +9,9 @@ import gradio as gr
9
 
10
  # Load the model and tokenizer
11
  # setup
12
- model_name = "benmanks/sentiment_analysis_trainer_model"
13
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
14
- tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment")
15
 
16
  # Function
17
  def preprocess(text):
 
9
 
10
  # Load the model and tokenizer
11
  # setup
12
+ model_name = "benmanks/sentiment_analysis"
13
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
14
+ tokenizer = AutoTokenizer.from_pretrained("benmanks/sentiment_analysis")
15
 
16
  # Function
17
  def preprocess(text):