Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import time
|
|
5 |
p = pipeline("automatic-speech-recognition")
|
6 |
|
7 |
def transcribe(audio, state=""):
|
8 |
-
time.sleep(
|
9 |
text = p(audio)["text"]
|
10 |
state += text + " "
|
11 |
return state, state
|
|
|
5 |
p = pipeline("automatic-speech-recognition")
|
6 |
|
7 |
def transcribe(audio, state=""):
|
8 |
+
time.sleep(10)
|
9 |
text = p(audio)["text"]
|
10 |
state += text + " "
|
11 |
return state, state
|