Learto commited on
Commit
9dcb8f3
·
1 Parent(s): 437ec78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def query(payload):
9
 
10
  # retrieving data from JSON Data
11
  json_data = response.json()
12
- sentiment_label = json_data['label']
13
 
14
  return sentiment_label
15
 
 
9
 
10
  # retrieving data from JSON Data
11
  json_data = response.json()
12
+ sentiment_label = json_data['score']
13
 
14
  return sentiment_label
15