Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,6 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
|
|
97 |
|
98 |
# tokenizer = get_tokenizer(multilingual=".en" not in model_name)
|
99 |
tokenizer= WhisperTokenizer.from_pretrained("openai/whisper-large")
|
100 |
-
model = "whisper-large"
|
101 |
|
102 |
internal_lm_average_logprobs = classify.calculate_internal_lm_average_logprobs(
|
103 |
model=model,
|
|
|
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,
|