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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -85,7 +85,6 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
85
  # return f"Toxicity Score ({available_models[selected_model]}): {toxicity_score:.4f}"
86
  else:
87
  model = whisper.load_model("large")
88
- model_cache[model_name] = model
89
  # model = model_cache[model_name]
90
  # class_names = classify_anxiety.split(",")
91
  class_names_list = class_options.get(classify_anxiety, [])
 
85
  # return f"Toxicity Score ({available_models[selected_model]}): {toxicity_score:.4f}"
86
  else:
87
  model = whisper.load_model("large")
 
88
  # model = model_cache[model_name]
89
  # class_names = classify_anxiety.split(",")
90
  class_names_list = class_options.get(classify_anxiety, [])