fix: typo

This commit is contained in:
墨梓柒
2025-04-14 12:16:13 +08:00
parent 38d7d9e014
commit 87ccaf981a
5 changed files with 18 additions and 18 deletions

View File

@@ -341,7 +341,7 @@ def process_llm_response(text: str) -> List[str]:
tone_error_rate=global_config.chinese_typo_tone_error_rate,
word_replace_rate=global_config.chinese_typo_word_replace_rate,
)
if global_config.enable_response_spliter:
if global_config.enable_response_splitter:
split_sentences = split_into_sentences_w_remove_punctuation(text)
else:
split_sentences = [text]