mskov commited on
Commit
4fe2d64
·
1 Parent(s): f169bfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-small", use_auth_token=huggingface_token)
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 ####