mskov commited on
Commit
be06195
1 Parent(s): 45d3377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
105
  # class_names=classify_anxiety,
106
  tokenizer=tokenizer,
107
  )
108
- audio_features = classify.calculate_audio_features(audio_path, model)
109
  average_logprobs = classify.calculate_average_logprobs(
110
  model=model,
111
  audio_features=audio_features,
 
105
  # class_names=classify_anxiety,
106
  tokenizer=tokenizer,
107
  )
108
+ audio_features = classify.calculate_audio_features(audio_file, model)
109
  average_logprobs = classify.calculate_average_logprobs(
110
  model=model,
111
  audio_features=audio_features,