summaryrefslogtreecommitdiffstats
path: root/gpt4free/theb/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gpt4free/theb/__init__.py')
-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'))