tdurzynski commited on
Commit
202afe1
·
verified ·
1 Parent(s): 05f745d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,4 +1,9 @@
 
1
  import gradio as gr
 
 
 
 
2
  demo = gr.Blocks()
3
 
4
  def transcribe_long_form(filepath):
 
1
+ from transformers import pipeline
2
  import gradio as gr
3
+
4
+ asr = pipeline(task="automatic-speech-recognition",
5
+ model="./models/distil-whisper/distil-small.en")
6
+
7
  demo = gr.Blocks()
8
 
9
  def transcribe_long_form(filepath):