Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def voice_detect(audio, recongnize_text=""):
|
|
29 |
"""
|
30 |
Transcribe audio using whisper model.
|
31 |
"""
|
32 |
-
time.sleep(
|
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:]
|