on1onmangoes commited on
Commit
21761fc
·
1 Parent(s): 196ec18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import unicodedata
5
  p = pipeline("automatic-speech-recognition",model="openai/whisper-tiny")
6
 
7
  def transcribe(audio, state=""):
8
- time.sleep(2)
9
  text = p(audio)["text"]
10
  state += unicodedata.normalize("NFC",text) + " "
11
  return state, state
 
5
  p = pipeline("automatic-speech-recognition",model="openai/whisper-tiny")
6
 
7
  def transcribe(audio, state=""):
8
+ time.sleep(10)
9
  text = p(audio)["text"]
10
  state += unicodedata.normalize("NFC",text) + " "
11
  return state, state