Krittaprot commited on
Commit
1bf6f93
1 Parent(s): 08c07a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -137,7 +137,6 @@ def comments_analyzer(comments_df):
137
 
138
  data = {}
139
  #Categorize the comments by sentiment and count them
140
- data['video_id'] = video_id
141
  data['total_comments'] = len(comments_df)
142
  data['num_positive'] = comments_df['sentiment'].value_counts().get('positive', 0)
143
  data['num_neutral'] = comments_df['sentiment'].value_counts().get('neutral', 0)
 
137
 
138
  data = {}
139
  #Categorize the comments by sentiment and count them
 
140
  data['total_comments'] = len(comments_df)
141
  data['num_positive'] = comments_df['sentiment'].value_counts().get('positive', 0)
142
  data['num_neutral'] = comments_df['sentiment'].value_counts().get('neutral', 0)