mskov commited on
Commit
6666837
1 Parent(s): 61fa7d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False)
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 ####