Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety, emo_class, expli
|
|
86 |
candidate_labels = class_options.get(classify_anxiety, [])
|
87 |
# classification_output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
|
88 |
classification_output = text_classifier(sequence_to_classify, candidate_labels, multi_label=True)
|
89 |
-
print(classification_output)
|
90 |
|
91 |
|
92 |
return toxicity_score, classification_output, transcribed_text
|
|
|
86 |
candidate_labels = class_options.get(classify_anxiety, [])
|
87 |
# classification_output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
|
88 |
classification_output = text_classifier(sequence_to_classify, candidate_labels, multi_label=True)
|
89 |
+
print("class output ", type(classification_output))
|
90 |
|
91 |
|
92 |
return toxicity_score, classification_output, transcribed_text
|