mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-16 23:40:59 +00:00
fix: webui 访问提示在Windows上的编码问题
This commit is contained in:
@@ -58,7 +58,7 @@ class Text2ImageStrategy(strategy_model.LongTextStrategy):
|
||||
"""
|
||||
kv = []
|
||||
nums = []
|
||||
beforeDatas = re.findall('[\d]+', path)
|
||||
beforeDatas = re.findall('[\\d]+', path)
|
||||
for num in beforeDatas:
|
||||
indexV = []
|
||||
times = path.count(num)
|
||||
|
||||
Reference in New Issue
Block a user