DataWizard9742 commited on
Commit
2181dd8
·
1 Parent(s): 9eb5e31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def load_data(csv_file):
9
 
10
 
11
  def convert_to_rating(sentiment):
12
- if sentiment >= -1 and sentiment < -0.6:
13
  return 1
14
  elif sentiment >= -0.6 and sentiment < -0.2:
15
  return 2
 
9
 
10
 
11
  def convert_to_rating(sentiment):
12
+ if sentiment >= -1 and sentiment < -0.6:
13
  return 1
14
  elif sentiment >= -0.6 and sentiment < -0.2:
15
  return 2