XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

update encoding

23364b47
Bagus Indrayana <bagusindrayanaindo@gmail.com>
提交于

代码差异

1 个文件 +1 -1
Modified testing/binghuan/BingHuan.py +1 -1
@@ -18,7 +18,7 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
18 18 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
19 19
20 20 for line in iter(p.stdout.readline, b''):
21 yield line.decode('utf-8')
21 yield line.decode('cp1252')
22 22
23 23
24 24