czyoung commited on
Commit
6834ea2
·
verified ·
1 Parent(s): e154249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ if st.button("Analyze Audio"):
37
  sortedSpeakerList = sorted([[row for row in speaker if row[1] > 0.25] for speaker in speakerList if len([row for row in speaker if row[1] > 0.25]) > 0],
38
  key=lambda e: min(e)[0])
39
  pred_count = len(sortedSpeakerList)
40
- lecturer_speaker_list = su.twoClassExtendAnnotation(annotations)
41
- lecturer_pred_count = len(lecturer_speaker_list)
42
 
43
  # Lecturer vs. Audience
44
  #---------------------------------------------------------------------------
 
37
  sortedSpeakerList = sorted([[row for row in speaker if row[1] > 0.25] for speaker in speakerList if len([row for row in speaker if row[1] > 0.25]) > 0],
38
  key=lambda e: min(e)[0])
39
  pred_count = len(sortedSpeakerList)
40
+ lecturer_speaker_list,_ = su.twoClassExtendAnnotation(annotations)
41
+ lecturer_pred_count = 2
42
 
43
  # Lecturer vs. Audience
44
  #---------------------------------------------------------------------------