fix: webui 访问提示在Windows上的编码问题

This commit is contained in:
Junyan Qin
2024-11-19 19:33:58 +08:00
parent 8b36782c25
commit 753066ccb9
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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)