summaryrefslogtreecommitdiffstats
path: root/testing/binghuan/BingHuan.py
diff options
context:
space:
mode:
authorBagus Indrayana <bagusindrayanaindo@gmail.com>2023-07-11 19:19:32 +0200
committerBagus Indrayana <bagusindrayanaindo@gmail.com>2023-07-11 19:19:32 +0200
commit23364b479af936f156b14550c918bc7d031c127d (patch)
treecc4705c55a71bd49cc3893f10c3f2a8b1ab440ab /testing/binghuan/BingHuan.py
parentupdate testing (diff)
downloadgpt4free-23364b479af936f156b14550c918bc7d031c127d.tar
gpt4free-23364b479af936f156b14550c918bc7d031c127d.tar.gz
gpt4free-23364b479af936f156b14550c918bc7d031c127d.tar.bz2
gpt4free-23364b479af936f156b14550c918bc7d031c127d.tar.lz
gpt4free-23364b479af936f156b14550c918bc7d031c127d.tar.xz
gpt4free-23364b479af936f156b14550c918bc7d031c127d.tar.zst
gpt4free-23364b479af936f156b14550c918bc7d031c127d.zip
Diffstat (limited to '')
-rw-r--r--testing/binghuan/BingHuan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/binghuan/BingHuan.py b/testing/binghuan/BingHuan.py
index ce36b1f2..8c859c08 100644
--- a/testing/binghuan/BingHuan.py
+++ b/testing/binghuan/BingHuan.py
@@ -18,7 +18,7 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
for line in iter(p.stdout.readline, b''):
- yield line.decode('utf-8')
+ yield line.decode('cp1252')