Cynthiaaaaaaaa commited on
Commit
0106d1b
·
verified ·
1 Parent(s): d69a484

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def summarization(text):
9
 
10
  # Sentiment Classification
11
  def sentiment_classification(summary):
12
- sentiment_model = pipeline("text-classification", model="wxrrrrrrr/finetuned_sentiment_analysis")
13
  result = sentiment_model(summary, max_length=100, do_sample=False)[0]['label']
14
  return result
15
 
 
9
 
10
  # Sentiment Classification
11
  def sentiment_classification(summary):
12
+ sentiment_model = pipeline("text-classification", model="wxrrrrrrr/finetunde_sentiment_analysis")
13
  result = sentiment_model(summary, max_length=100, do_sample=False)[0]['label']
14
  return result
15