navinaananthan commited on
Commit
82d7125
·
1 Parent(s): 1ef3084

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ model = T5ForConditionalGeneration.from_pretrained(model_name)
34
  '''
35
  Importing necessary models for ASR module
36
  '''
37
- asr_processor = WhisperProcessor.from_pretrained("whisper-small-si_50k_25jul23_checkpoint-600")
38
- asr_model = WhisperForConditionalGeneration.from_pretrained("whisper-small-si_50k_25jul23_checkpoint-600")
39
  forced_decoder_ids = asr_processor.get_decoder_prompt_ids(language="sinhala", task="transcribe")
40
 
41
 
 
34
  '''
35
  Importing necessary models for ASR module
36
  '''
37
+ asr_processor = WhisperProcessor.from_pretrained("openai/whisper-large-v2")
38
+ asr_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-large-v2")
39
  forced_decoder_ids = asr_processor.get_decoder_prompt_ids(language="sinhala", task="transcribe")
40
 
41