업로드 기능 추가

This commit is contained in:
Chan
2025-01-08 17:55:58 +09:00
parent e387382951
commit 382cd1fa57
4 changed files with 95 additions and 35 deletions

View File

@@ -153,7 +153,7 @@ class WhisperSegment extends r {
<div class="times">${hms(this.start)} - ${hms(this.end)}</div>
<div class="words">
${this.words.map(w =>
x`<whisper-word title="${w.confidence}" word="${w.word}" start="${w.start}" end="${w.end}" probability="${w.probability}" />`
x`<whisper-word title="${w.confidence || w.probability}" word="${w.word}" start="${w.start}" end="${w.end}" probability="${w.probability}" />`
)}
</div>
</li>