jlvdoorn commited on
Commit
109687a
1 Parent(s): 8610021

Fixex pipe

Browse files
Files changed (2) hide show
  1. .gitignore +7 -0
  2. app.py +1 -1
.gitignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ flagged/
2
+ .pt
3
+ .png
4
+ .jpg
5
+ .mp4
6
+ .mkv
7
+ gradio_cached_examples/
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
  import os
4
 
5
- pipe = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim', use_auth_token=os.environ['HUGGINGFACE_TOKEN'])
6
 
7
  def transcribe(audio_mic, audio_file):
8
  if audio_file is not None:
 
2
  import gradio as gr
3
  import os
4
 
5
+ pipe = pipeline(model='jlvdoorn/whisper-large-v2-atco2-asr-atcosim', use_auth_token=os.environ['HUGGINGFACE_TOKEN'], src='model')
6
 
7
  def transcribe(audio_mic, audio_file):
8
  if audio_file is not None: