Spaces:
Sleeping
Sleeping
Commit
·
8115b30
1
Parent(s):
e7adcbd
fixed syntax error in app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def transcribe_chunkwise(audio, transcript_state):
|
|
60 |
with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as ctmp:
|
61 |
chunk.export(ctmp.name, format="wav")
|
62 |
text = pipe(ctmp.name)["text"]
|
63 |
-
|
64 |
yield "\n".join(transcript_state), transcript_state
|
65 |
|
66 |
#trasncribe func
|
|
|
60 |
with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as ctmp:
|
61 |
chunk.export(ctmp.name, format="wav")
|
62 |
text = pipe(ctmp.name)["text"]
|
63 |
+
transcript_state.append(text)
|
64 |
yield "\n".join(transcript_state), transcript_state
|
65 |
|
66 |
#trasncribe func
|