Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
|
|
64 |
sequence_to_classify = transcribed_text
|
65 |
candidate_labels = class_options.get(classify_anxiety, [])
|
66 |
# classification_output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
|
67 |
-
classification_output = text_classifier(sequence_to_classify, candidate_labels, multi_label=
|
68 |
print(classification_output)
|
69 |
|
70 |
#### Emotion classification ####
|
|
|
64 |
sequence_to_classify = transcribed_text
|
65 |
candidate_labels = class_options.get(classify_anxiety, [])
|
66 |
# classification_output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
|
67 |
+
classification_output = text_classifier(sequence_to_classify, candidate_labels, multi_label=True)
|
68 |
print(classification_output)
|
69 |
|
70 |
#### Emotion classification ####
|