mskov commited on
Commit
69b4de9
·
1 Parent(s): d03c109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def classify_toxicity(audio_file, selected_sounds, slider):
99
  if score > threshold:
100
  # If it exceeds the threshold, append the label and score to the list
101
  exceeding_threshold.append((label, score))
102
- affirm = f"Threshold exceeded with "{exceeding_threshold}
103
  else:
104
  affirm = ""
105
 
 
99
  if score > threshold:
100
  # If it exceeds the threshold, append the label and score to the list
101
  exceeding_threshold.append((label, score))
102
+ affirm = "Threshold Exceeded"
103
  else:
104
  affirm = ""
105