hylee commited on
Commit
67d1b71
·
1 Parent(s): f9ef8dc
Files changed (1) hide show
  1. handler.py +2 -1
handler.py CHANGED
@@ -153,10 +153,11 @@ class Transcript:
153
  student_dict[word] += 1
154
  dict_list = []
155
  uptake_dict_list = []
 
 
156
  for word in teacher_dict.keys():
157
  dict_list.append(
158
  {'text': word, 'value': teacher_dict[word], 'category': 'teacher'})
159
- uptake_dict_list.append({'text': word, 'value': uptake_teacher_dict[word], 'category': 'teacher'})
160
  for word in student_dict.keys():
161
  dict_list.append(
162
  {'text': word, 'value': student_dict[word], 'category': 'student'})
 
153
  student_dict[word] += 1
154
  dict_list = []
155
  uptake_dict_list = []
156
+ for word in uptake_teacher_dict.keys():
157
+ uptake_dict_list.append({'text': word, 'value': uptake_teacher_dict[word], 'category': 'teacher'})
158
  for word in teacher_dict.keys():
159
  dict_list.append(
160
  {'text': word, 'value': teacher_dict[word], 'category': 'teacher'})
 
161
  for word in student_dict.keys():
162
  dict_list.append(
163
  {'text': word, 'value': student_dict[word], 'category': 'student'})