diff options
Diffstat (limited to 'unfinished/easyai')
-rw-r--r-- | unfinished/easyai/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unfinished/easyai/main.py b/unfinished/easyai/main.py index 475430ee..07adfd72 100644 --- a/unfinished/easyai/main.py +++ b/unfinished/easyai/main.py @@ -37,4 +37,5 @@ while True: if b'content' in chunk: # Parse the JSON data and print the content data = loads(chunk.decode('utf-8').split('data:')[1]) + print(data['content'], end='') |