"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "c9f5029a9d38b6b234dd529bf6d6d3838d95bfd8"
Unverified Commit 72d26130 authored by andyjpaddle's avatar andyjpaddle Committed by GitHub
Browse files

Merge pull request #6128 from littletomatodonkey/dyg/fix_encode

fix infer rec encoding
parents c5d2d7ed b6e3734e
......@@ -150,7 +150,7 @@ def main():
"label": post_result[key][0][0],
"score": float(post_result[key][0][1]),
}
info = json.dumps(rec_info)
info = json.dumps(rec_info, ensure_ascii=False)
else:
if len(post_result[0]) >= 2:
info = post_result[0][0] + "\t" + str(post_result[0][1])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment