mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-05 00:01:00 +00:00
Merge pull request #439 from mishalhossin/patch-1
This should prevent the UnicodeDecodeError in theb
This commit is contained in:
commit
53177ea123
@ -65,4 +65,4 @@ class Completion:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handle_stream_response(response):
|
def handle_stream_response(response):
|
||||||
Completion.message_queue.put(response.decode())
|
Completion.message_queue.put(response.decode(errors='replace'))
|
||||||
|
Loading…
Reference in New Issue
Block a user