diff options
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/Providers/Theb.py | 2 |
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') |