summaryrefslogtreecommitdiffstats
path: root/unfinished/easyai/main.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-27 14:29:33 +0200
committerGitHub <noreply@github.com>2023-04-27 14:29:33 +0200
commitd8ec09cebbe04268200cb2f53289525cb95d00bb (patch)
tree997609545bc922d63081a49ee356b747b4ecce68 /unfinished/easyai/main.py
parentMerge branch 'main' of https://github.com/Andrew-Tsegaye/gpt4free (diff)
parentMerge pull request #197 from AymaneHrouch/update_syspath (diff)
downloadgpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.gz
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.bz2
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.lz
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.xz
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.zst
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.zip
Diffstat (limited to 'unfinished/easyai/main.py')
-rw-r--r--unfinished/easyai/main.py1
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='')