mirror of https://github.com/xtekky/gpt4free.git
Update main.py
This commit is contained in:
parent
16e85fff4e
commit
d5d5d8b1d0
|
@ -28,5 +28,4 @@ while True:
|
||||||
|
|
||||||
if b'content' in chunk:
|
if b'content' in chunk:
|
||||||
data = loads(chunk.decode('utf-8').split('data:')[1])
|
data = loads(chunk.decode('utf-8').split('data:')[1])
|
||||||
print(data['content'], end='')
|
print(data['content'], end='')
|
||||||
|
|
Loading…
Reference in New Issue