filipzawadka commited on
Commit
93500a3
1 Parent(s): 7f82106
Files changed (2) hide show
  1. app.py +1 -1
  2. common_voice_pl_38051254.mp3 +0 -0
app.py CHANGED
@@ -8,7 +8,7 @@ transcriber = pipeline("automatic-speech-recognition", model="filipzawadka/whisp
8
 
9
  def transcribe(audio):
10
  print(audio)
11
- return transcriber(audio)["text"]
12
 
13
 
14
  demo = gr.Interface(
 
8
 
9
  def transcribe(audio):
10
  print(audio)
11
+ return transcriber("./common_voice_pl_38051254.mp3")["text"]
12
 
13
 
14
  demo = gr.Interface(
common_voice_pl_38051254.mp3 ADDED
Binary file (21.9 kB). View file