Spaces:
Sleeping
Sleeping
Jan van Doorn
commited on
Final commit for HF Spaces
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ login(token=os.environ['hf_token'])
|
|
14 |
# dis = 'This demo will transcribe ATC audio files by using the Whisper Large v2 model fine-tuned on the ATCO2, ATCOSIM and ANSP datasets. \n \n Further it uses a Named Entity Recognition model to extract callsigns, commands and values from the transcription. \n This model is based on Google\'s BERT model and fine-tuned on the ATCO2 dataset.'
|
15 |
|
16 |
# except:
|
17 |
-
whisper = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim'
|
18 |
ttl = 'Whisper Large v2 - ATCO2-ATCOSIM'
|
19 |
dis = 'This demo will transcribe ATC audio files by using the Whisper Large v2 model fine-tuned on the ATCO2 and ATCOSIM datasets. \n \n Further it uses a Named Entity Recognition model to extract callsigns, commands and values from the transcription. \n This model is based on Google\'s BERT model and fine-tuned on the ATCO2 dataset.'
|
20 |
|
|
|
14 |
# dis = 'This demo will transcribe ATC audio files by using the Whisper Large v2 model fine-tuned on the ATCO2, ATCOSIM and ANSP datasets. \n \n Further it uses a Named Entity Recognition model to extract callsigns, commands and values from the transcription. \n This model is based on Google\'s BERT model and fine-tuned on the ATCO2 dataset.'
|
15 |
|
16 |
# except:
|
17 |
+
whisper = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim')
|
18 |
ttl = 'Whisper Large v2 - ATCO2-ATCOSIM'
|
19 |
dis = 'This demo will transcribe ATC audio files by using the Whisper Large v2 model fine-tuned on the ATCO2 and ATCOSIM datasets. \n \n Further it uses a Named Entity Recognition model to extract callsigns, commands and values from the transcription. \n This model is based on Google\'s BERT model and fine-tuned on the ATCO2 dataset.'
|
20 |
|