Skip to content

Commit 7017949

Browse files
author
Zenflow
committed
fix: clarify step2 recal print — offset-recal is whisper drift correction, not an ad break
1 parent de3b4d0 commit 7017949

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/podcast_to_moshi_dataset.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,9 @@ def min_score(n: int) -> float:
447447
if abs_start is not None:
448448
new_offset = whisper_words[abs_start]["start"] - t_start
449449
jump = new_offset - offset
450-
print(f" step2: recal at t={t_start:.0f}s "
451-
f"Δ={jump:+.1f}s raw={whisper_words[abs_start]['start']:.1f}s",
450+
print(f" step2: offset-recal at t={t_start:.0f}s "
451+
f"offset-jump={jump:+.1f}s raw={whisper_words[abs_start]['start']:.1f}s"
452+
f" (whisper drift, not an ad break)",
452453
flush=True)
453454
offset = new_offset
454455
new_cursor_t = whisper_words[abs_end - 1]["end"] - OVERLAP_SEC

0 commit comments

Comments
 (0)