Spaces:
Running
Running
Update app.py
Browse files
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 |
#%%
|