storresbusquets commited on
Commit
206efbc
1 Parent(s): ad3b6bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ class GradioInference:
133
  }
134
 
135
  # Sentiment label
136
- label = self.classifier(summary2)[0]["label"]
137
 
138
  # Format the label with emojis
139
  formatted_sentiment = sentiment_emojis.get(label, label)
 
133
  }
134
 
135
  # Sentiment label
136
+ label = self.classifier(summary)[0]["label"]
137
 
138
  # Format the label with emojis
139
  formatted_sentiment = sentiment_emojis.get(label, label)