summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Providers/Theb.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-07-18 01:08:53 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-07-18 01:08:53 +0200
commit2d00d4046a72123444521d75a02a52602313b40d (patch)
treec68d7686af9cd56bb72560880ae96d4548a8cc85 /g4f/Provider/Providers/Theb.py
parentg4f package & update provider list (diff)
downloadgpt4free-2d00d4046a72123444521d75a02a52602313b40d.tar
gpt4free-2d00d4046a72123444521d75a02a52602313b40d.tar.gz
gpt4free-2d00d4046a72123444521d75a02a52602313b40d.tar.bz2
gpt4free-2d00d4046a72123444521d75a02a52602313b40d.tar.lz
gpt4free-2d00d4046a72123444521d75a02a52602313b40d.tar.xz
gpt4free-2d00d4046a72123444521d75a02a52602313b40d.tar.zst
gpt4free-2d00d4046a72123444521d75a02a52602313b40d.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Providers/Theb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Providers/Theb.py b/g4f/Provider/Providers/Theb.py
index 093ea886..a78fb51f 100644
--- a/g4f/Provider/Providers/Theb.py
+++ b/g4f/Provider/Providers/Theb.py
@@ -21,7 +21,7 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
cmd = ['python3', f'{path}/helpers/theb.py', config]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
-
+
for line in iter(p.stdout.readline, b''):
yield line.decode('utf-8')