Spaces:
Runtime error
Runtime error
on1onmangoes
commited on
Commit
·
30b0c62
1
Parent(s):
607bc30
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ if audio:
|
|
21 |
# With only 1 number, both sides get the same stride, by default
|
22 |
# the stride_length on one side is 1/6th of the chunk_length_s
|
23 |
output = pipe(audio, chunk_length_s=10, stride_length_s=(4, 2))
|
24 |
-
st.json(output)
|
25 |
# audio_segment= AudioSegment.from_file(audio)
|
26 |
# asr = pipeline('automatic-speech-recognition')
|
27 |
# asr_out = asr (audio_segment)
|
|
|
21 |
# With only 1 number, both sides get the same stride, by default
|
22 |
# the stride_length on one side is 1/6th of the chunk_length_s
|
23 |
output = pipe(audio, chunk_length_s=10, stride_length_s=(4, 2))
|
24 |
+
# st.json(output)
|
25 |
# audio_segment= AudioSegment.from_file(audio)
|
26 |
# asr = pipeline('automatic-speech-recognition')
|
27 |
# asr_out = asr (audio_segment)
|