Anisha0401 commited on
Commit
b431a98
·
verified ·
1 Parent(s): bcbafd7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
 
4
  # Load the sentiment-analysis pipeline
5
- sentiment_pipeline = pipeline("tabularisai/multilingual-sentiment-analysis")
6
 
7
  def analyze_sentiment(text):
8
  result = sentiment_pipeline(text)
 
2
  import gradio as gr
3
 
4
  # Load the sentiment-analysis pipeline
5
+ sentiment_pipeline = pipeline("sentiment-analysis", model="nlptown/bert-base-multilingual-uncased-sentiment")
6
 
7
  def analyze_sentiment(text):
8
  result = sentiment_pipeline(text)