Spaces:
Build error
Build error
on1onmangoes
commited on
Commit
•
9a94b29
1
Parent(s):
dea467b
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ p= pipeline("automatic-speech-recognition")
|
|
7 |
|
8 |
def transcribe (audio, state=""):
|
9 |
time.sleep(3)
|
10 |
-
|
11 |
-
text=["Test"]
|
12 |
state += text+ " "
|
13 |
return state, state
|
14 |
|
|
|
7 |
|
8 |
def transcribe (audio, state=""):
|
9 |
time.sleep(3)
|
10 |
+
text = p(audio)["text"]
|
11 |
+
#text=["Test"]
|
12 |
state += text+ " "
|
13 |
return state, state
|
14 |
|