mutisya commited on
Commit
7cb4a5f
1 Parent(s): e54243e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import time
5
  pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")
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
 
5
  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