diff options
author | Mishal <91066601+mishalhossin@users.noreply.github.com> | 2023-05-04 16:25:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 16:25:51 +0200 |
commit | a23381833365a0dd217587b956f413c9e0a20715 (patch) | |
tree | c9a50706bf8fc3426948f9fa9fe46930224785c4 | |
parent | Update README.md (diff) | |
download | gpt4free-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 |
-rw-r--r-- | gpt4free/theb/__init__.py | 2 |
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')) |