Spaces:
Running
Running
Jan van Doorn
commited on
Commit
·
fd41627
1
Parent(s):
5d5dc1c
updated for local running
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
|
6 |
-
print(os.environ['hf_token'])
|
7 |
## Try to load a local model if available
|
8 |
try:
|
9 |
whisper = pipeline(model='/mnt/projects/whisper/WhisperANSP/Models/whisper-large-v2-atco2-asr-atcosim-ANSP-3h1m', task='automatic-speech-recognition')
|
|
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
|
6 |
+
# print(os.environ['hf_token'])
|
7 |
## Try to load a local model if available
|
8 |
try:
|
9 |
whisper = pipeline(model='/mnt/projects/whisper/WhisperANSP/Models/whisper-large-v2-atco2-asr-atcosim-ANSP-3h1m', task='automatic-speech-recognition')
|