csukuangfj
commited on
Commit
·
8b09827
1
Parent(s):
f5633db
decode each stream separately
Browse files
decode.py
CHANGED
@@ -109,7 +109,9 @@ def decode(
|
|
109 |
|
110 |
vad.pop()
|
111 |
|
112 |
-
|
|
|
|
|
113 |
for seg, stream in zip(segments, streams):
|
114 |
seg.text = stream.result.text.strip()
|
115 |
segment_list.append(seg)
|
|
|
109 |
|
110 |
vad.pop()
|
111 |
|
112 |
+
for s in streams:
|
113 |
+
recognizer.decode_stream(s)
|
114 |
+
|
115 |
for seg, stream in zip(segments, streams):
|
116 |
seg.text = stream.result.text.strip()
|
117 |
segment_list.append(seg)
|