Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
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 |
|