mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
keep only debug log for tracks with no words (#724)
Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
This commit is contained in:
@@ -582,7 +582,8 @@ class PipelineMainMultitrack(PipelineMainBase):
|
|||||||
t = await self.transcribe_file(padded_url, transcript.source_language)
|
t = await self.transcribe_file(padded_url, transcript.source_language)
|
||||||
|
|
||||||
if not t.words:
|
if not t.words:
|
||||||
continue
|
self.logger.debug(f"no words in track {idx}")
|
||||||
|
# not skipping, it may be silence or indistinguishable mumbling
|
||||||
|
|
||||||
for w in t.words:
|
for w in t.words:
|
||||||
w.speaker = idx
|
w.speaker = idx
|
||||||
|
|||||||
Reference in New Issue
Block a user