mansi sharma commited on
Commit
beaa23b
·
1 Parent(s): a788079

model chaged

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load model from Hugging Face
5
- model_name = "sohan-ai/sentiment-analysis-model-amazon-reviews"
6
  classifier = pipeline("sentiment-analysis", model=model_name)
7
 
8
  # Prediction function
 
2
  from transformers import pipeline
3
 
4
  # Load model from Hugging Face
5
+ model_name = "MarieAngeA13/Sentiment-Analysis-BERT"
6
  classifier = pipeline("sentiment-analysis", model=model_name)
7
 
8
  # Prediction function