mskov commited on
Commit
6c45096
·
1 Parent(s): 483595d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -97,7 +97,8 @@ def classify_toxicity(audio_file, selected_sounds, slider):
97
 
98
  highest_score = max(matching_label_score.values())
99
  highest_float = float(highest_score)
100
-
 
101
  if highest_score is not None and highest_float > threshold:
102
  affirm = "Threshold Exceeded, initiate intervention"
103
  else:
 
97
 
98
  highest_score = max(matching_label_score.values())
99
  highest_float = float(highest_score)
100
+ print("highest float ", highest_float)
101
+ print("threshold", threshold)
102
  if highest_score is not None and highest_float > threshold:
103
  affirm = "Threshold Exceeded, initiate intervention"
104
  else: