Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ pe = pipeline("automatic-speech-recognition",model="jonatasgrosman/wav2vec2-larg
|
|
10 |
|
11 |
|
12 |
def transcribe(language,audio, state=""):#language="Spanish",
|
13 |
-
time.sleep(
|
14 |
if language=="Spanish":
|
15 |
state=""
|
16 |
text = p(audio)["text"]
|
|
|
10 |
|
11 |
|
12 |
def transcribe(language,audio, state=""):#language="Spanish",
|
13 |
+
time.sleep(1)
|
14 |
if language=="Spanish":
|
15 |
state=""
|
16 |
text = p(audio)["text"]
|