sifujohn commited on
Commit
a4c0bdd
·
verified ·
1 Parent(s): 8916d89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,8 @@ from transformers import pipeline
2
  import gradio as gr
3
 
4
  # Load sentiment analysis pipeline
5
- classifier_pipeline = pipeline("text-classification", model="tabularisai/multilingual-sentiment-analysis")
 
6
 
7
  # Define classification function
8
  def classify_text(text):
 
2
  import gradio as gr
3
 
4
  # Load sentiment analysis pipeline
5
+ # classifier_pipeline = pipeline("text-classification", model="tabularisai/multilingual-sentiment-analysis")
6
+ classifier_pipeline = ("sentiment-analysis")
7
 
8
  # Define classification function
9
  def classify_text(text):