tonyliu404 commited on
Commit
7406d08
·
verified ·
1 Parent(s): 7a458e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  asr = pipeline("automatic-speech-recognition", model="distil-whisper/distil-small.en") #sound to text model
2
 
3
  demo = gr.Blocks()
 
1
+ from transformers import pipeline
2
+
3
  asr = pipeline("automatic-speech-recognition", model="distil-whisper/distil-small.en") #sound to text model
4
 
5
  demo = gr.Blocks()