Commit 3cdb661
authored
fix(cli): use sentence_info "sentence" field for segment text (#2983)
The CLI built per-segment text from seg.get("text"), but sentence_info
elements use the key "sentence". As a result --spk -f srt/json produced
cues with correct timestamps but empty text. Read "sentence" (falling back
to "text").
Tested: --spk -f srt now emits valid subtitles with text + per-sentence
timestamps.
Co-authored-by: LauraGPT <LauraGPT@users.noreply.github.com>1 parent 6f8d161 commit 3cdb661
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments