summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-05-04 20:09:55 +0200
committerGitHub <noreply@github.com>2023-05-04 20:09:55 +0200
commit53177ea1232a9985bc290c091e3d9d11a304b5a9 (patch)
tree9f6d68144e3bffb47ea2f27a863bad6fcfa781c6
parentMerge pull request #438 from xiangsx/main (diff)
parentUpdate __init__.py (diff)
downloadgpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.tar
gpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.tar.gz
gpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.tar.bz2
gpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.tar.lz
gpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.tar.xz
gpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.tar.zst
gpt4free-53177ea1232a9985bc290c091e3d9d11a304b5a9.zip
-rw-r--r--gpt4free/theb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt4free/theb/__init__.py b/gpt4free/theb/__init__.py
index b162811e..852fe17b 100644
--- a/gpt4free/theb/__init__.py
+++ b/gpt4free/theb/__init__.py
@@ -65,4 +65,4 @@ class Completion:
@staticmethod
def handle_stream_response(response):
- Completion.message_queue.put(response.decode())
+ Completion.message_queue.put(response.decode(errors='replace'))