Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
|
|
| 44 |
|
| 45 |
else:
|
| 46 |
transcribed_text = text_input
|
| 47 |
-
|
| 48 |
#### Toxicity Classifier ####
|
| 49 |
|
| 50 |
toxicity_module = evaluate.load("toxicity", "facebook/roberta-hate-speech-dynabench-r4-target")
|
|
|
|
| 44 |
|
| 45 |
else:
|
| 46 |
transcribed_text = text_input
|
| 47 |
+
print("classify anxiety ", classify_anxiety)
|
| 48 |
#### Toxicity Classifier ####
|
| 49 |
|
| 50 |
toxicity_module = evaluate.load("toxicity", "facebook/roberta-hate-speech-dynabench-r4-target")
|