jlvdoorn commited on
Commit
6339a6b
·
1 Parent(s): db11291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
  try:
8
  whisper = pipeline(model='/mnt/projects/whisper/WhisperANSP/Models/whisper-large-v2-atco2-asr-atcosim-ANSP-3h1m', task='automatic-speech-recognition')
9
  except:
10
- whisper = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim')
11
  bert_atco_ner = pipeline(model='Jzuluaga/bert-base-ner-atc-en-atco2-1h')
12
 
13
  #%%
 
7
  try:
8
  whisper = pipeline(model='/mnt/projects/whisper/WhisperANSP/Models/whisper-large-v2-atco2-asr-atcosim-ANSP-3h1m', task='automatic-speech-recognition')
9
  except:
10
+ whisper = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim', token=os.environ['hf_token'])
11
  bert_atco_ner = pipeline(model='Jzuluaga/bert-base-ner-atc-en-atco2-1h')
12
 
13
  #%%