优化 字幕清洗方案

This commit is contained in:
小肥羊 2026-01-21 11:33:38 +08:00
parent f8a758ff40
commit 43a59dd593
2 changed files with 5 additions and 7 deletions

View File

@ -336,15 +336,13 @@ namespace VideoAnalysisCore.AICore.GPT.DeepSeek
N N
i `t` i `t`
使
2. ()
2.
`r` `""`
LaTeX / LaTeX ( `$\\frac{a}{b}$`)JSON (`\\\\`)
3. ()
3.
`r` `""`
LaTeX / LaTeX ( `$\\frac{a}{b}$`)JSON (`\\\\`)
# Task Data
( {{cStrArr.Count()}} ):
{{nowCaptionStr}}

View File

@ -255,7 +255,7 @@ namespace VideoAnalysisCore.Common
}
}
var sp = spList.Distinct().ToList();
if (sp.Count > 0)
if (sp.Count > 0 && !string.IsNullOrWhiteSpace(segment.Text))
results.Add(segment, sp);
}