Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety, emo_class, expli
|
|
| 89 |
classification_output = text_classifier(sequence_to_classify, candidate_labels, multi_label=True)
|
| 90 |
print("class output ", type(classification_output))
|
| 91 |
# classification_df = pd.DataFrame.from_dict(classification_output)
|
| 92 |
-
|
| 93 |
|
| 94 |
# plot.update(x=classification_df["labels"], y=classification_df["scores"])
|
| 95 |
|
|
|
|
| 89 |
classification_output = text_classifier(sequence_to_classify, candidate_labels, multi_label=True)
|
| 90 |
print("class output ", type(classification_output))
|
| 91 |
# classification_df = pd.DataFrame.from_dict(classification_output)
|
| 92 |
+
print("keys ", classification_output.keys())
|
| 93 |
|
| 94 |
# plot.update(x=classification_df["labels"], y=classification_df["scores"])
|
| 95 |
|