mskov commited on
Commit
9bae889
·
1 Parent(s): d8bbf55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
95
  class_names = class_str.split(",")
96
  print("class names ", class_names, "classify_anxiety ", classify_anxiety)
97
 
98
- # tokenizer = get_tokenizer(multilingual=".en" not in model_name)
99
- tokenizer= WhisperTokenizer.from_pretrained("openai/whisper-large")
100
 
101
  internal_lm_average_logprobs = classify.calculate_internal_lm_average_logprobs(
102
  model=model,
 
95
  class_names = class_str.split(",")
96
  print("class names ", class_names, "classify_anxiety ", classify_anxiety)
97
 
98
+ tokenizer = get_tokenizer("large")
99
+ # tokenizer= WhisperTokenizer.from_pretrained("openai/whisper-large")
100
 
101
  internal_lm_average_logprobs = classify.calculate_internal_lm_average_logprobs(
102
  model=model,