This commit is contained in:
yumoqing 2025-11-06 15:02:12 +08:00
parent 8236dd18a9
commit 25cce934c4

View File

@ -42,7 +42,7 @@ class MyLongTask(LongTasks):
def transcribe(self, model, fpath):
segments, info = model.transcribe(fpath, beam_size=5)
segments = list(segments)
debug(f'{segments=}, {info=}')
debug(f'{segments=}')
words = []
for s in segments:
if s.words: