summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMishal <91066601+mishalhossin@users.noreply.github.com>2023-05-04 16:25:51 +0200
committerGitHub <noreply@github.com>2023-05-04 16:25:51 +0200
commita23381833365a0dd217587b956f413c9e0a20715 (patch)
treec9a50706bf8fc3426948f9fa9fe46930224785c4
parentUpdate README.md (diff)
downloadgpt4free-a23381833365a0dd217587b956f413c9e0a20715.tar
gpt4free-a23381833365a0dd217587b956f413c9e0a20715.tar.gz
gpt4free-a23381833365a0dd217587b956f413c9e0a20715.tar.bz2
gpt4free-a23381833365a0dd217587b956f413c9e0a20715.tar.lz
gpt4free-a23381833365a0dd217587b956f413c9e0a20715.tar.xz
gpt4free-a23381833365a0dd217587b956f413c9e0a20715.tar.zst
gpt4free-a23381833365a0dd217587b956f413c9e0a20715.zip
Diffstat (limited to '')
-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'))