Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def classify_toxicity(audio_file, text_input, classify_anxiety):
|
|
39 |
# Extract the transcribed text
|
40 |
# transcribed_text = transcription_results["transcription"]
|
41 |
'''
|
42 |
-
model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-
|
43 |
transcribed_text = model.transcribe(audio_file)
|
44 |
|
45 |
#### Emotion classification ####
|
|
|
39 |
# Extract the transcribed text
|
40 |
# transcribed_text = transcription_results["transcription"]
|
41 |
'''
|
42 |
+
model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-base")
|
43 |
transcribed_text = model.transcribe(audio_file)
|
44 |
|
45 |
#### Emotion classification ####
|