mskov commited on
Commit
031941c
·
1 Parent(s): 6973619

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def classify_toxicity(audio_file, selected_sounds, slider):
93
  print(selected_sounds)
94
  if selected_class_name in class_score_dict:
95
  #score = class_score_dict[selected_class_name]
96
- matching_label_score[class_name] = label_score_dict[class_name]
97
  for label, score in matching_label_score.items():
98
  # Check if the score is greater than the threshold
99
  if score > threshold:
 
93
  print(selected_sounds)
94
  if selected_class_name in class_score_dict:
95
  #score = class_score_dict[selected_class_name]
96
+ matching_label_score[class_name] = class_score_dict[class_name]
97
  for label, score in matching_label_score.items():
98
  # Check if the score is greater than the threshold
99
  if score > threshold: