rahilv commited on
Commit
9d30c15
·
verified ·
1 Parent(s): db0702d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from plotly import graph_objs as go
10
  # Load the Hugging Face model and tokenizer
11
  @st.cache_resource
12
  def load_model():
13
- model_name = "rahilv/news-sentiment-analysis-roberta-2"
14
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
15
  tokenizer = AutoTokenizer.from_pretrained(model_name)
16
  return model, tokenizer
 
10
  # Load the Hugging Face model and tokenizer
11
  @st.cache_resource
12
  def load_model():
13
+ model_name = "rahilv/financial-sentiment-model-roberta-3"
14
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
15
  tokenizer = AutoTokenizer.from_pretrained(model_name)
16
  return model, tokenizer