vumichien commited on
Commit
df545f3
·
1 Parent(s): ac41342

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def voice_detect(audio, recongnize_text=""):
29
  """
30
  Transcribe audio using whisper model.
31
  """
32
- time.sleep(2)
33
  if len(recongnize_text) !=0:
34
  count_state = int(recongnize_text[0])
35
  recongnize_text = recongnize_text[1:]
 
29
  """
30
  Transcribe audio using whisper model.
31
  """
32
+ time.sleep(1)
33
  if len(recongnize_text) !=0:
34
  count_state = int(recongnize_text[0])
35
  recongnize_text = recongnize_text[1:]