fix: replace 蚂蚁集团 with 星之鑫
This commit is contained in:
parent
fb53c4a6b7
commit
c608562313
|
|
@ -68,9 +68,9 @@ class LLMProvider(LLMProviderBase):
|
||||||
# 人格替换
|
# 人格替换
|
||||||
text = text.replace("蚂蚁阿福", "泰小虎")
|
text = text.replace("蚂蚁阿福", "泰小虎")
|
||||||
text = text.replace("阿福", "泰小虎")
|
text = text.replace("阿福", "泰小虎")
|
||||||
text = text.replace("蚂蚁集团", "泰兴福")
|
text = text.replace("蚂蚁集团", "星之鑫")
|
||||||
text = text.replace("蚂蚁", "泰兴福")
|
text = text.replace("蚂蚁", "星之鑫")
|
||||||
text = text.replace("支付宝", "泰兴福")
|
text = text.replace("支付宝", "星之鑫")
|
||||||
text = text.replace("健康是福", "健康是虎")
|
text = text.replace("健康是福", "健康是虎")
|
||||||
# 多余空格和空行
|
# 多余空格和空行
|
||||||
text = re.sub(r' +', ' ', text)
|
text = re.sub(r' +', ' ', text)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue