mutisya commited on
Commit
12c52b2
·
verified ·
1 Parent(s): ba86aed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
6
 
7
  def transcribe(audio, state=""):
8
  #print(audio)
9
- # time.sleep(0.5)
10
  text = pipe(audio)["text"]
11
  state += text + " "
12
  return state, state
 
6
 
7
  def transcribe(audio, state=""):
8
  #print(audio)
9
+ time.sleep(2)
10
  text = pipe(audio)["text"]
11
  state += text + " "
12
  return state, state