mskov commited on
Commit
0b0da06
1 Parent(s): 218afdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety, emo_class, expli
58
  transcribed_text = text_input
59
  if classify_anxiety != "misophonia":
60
  # explitive call
61
- if replace_explitives != None && emo_class == None:
62
  transcribed_text = replace_explitives.sub_explitives(transcribed_text, explitive_selection)
63
 
64
  #### Toxicity Classifier ####
 
58
  transcribed_text = text_input
59
  if classify_anxiety != "misophonia":
60
  # explitive call
61
+ if replace_explitives != None and emo_class == None:
62
  transcribed_text = replace_explitives.sub_explitives(transcribed_text, explitive_selection)
63
 
64
  #### Toxicity Classifier ####