lampongyuen commited on
Commit
1dbebc5
·
1 Parent(s): 2ac91cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
  p = pipeline("automatic-speech-recognition")
4
 
 
5
  def transcribe(audio):
6
  text = p(audio)["text"]
7
  return text
 
2
  from transformers import pipeline
3
  p = pipeline("automatic-speech-recognition")
4
 
5
+
6
  def transcribe(audio):
7
  text = p(audio)["text"]
8
  return text