diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-05-04 20:09:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 20:09:55 +0200 |
commit | 53177ea1232a9985bc290c091e3d9d11a304b5a9 (patch) | |
tree | 9f6d68144e3bffb47ea2f27a863bad6fcfa781c6 | |
parent | Merge pull request #438 from xiangsx/main (diff) | |
parent | Update __init__.py (diff) | |
download | gpt4free-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__.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')) |