starsaround's picture
Upload 183 files
f4b4235

A newer version of the Gradio SDK is available: 5.23.1

Upgrade

Example: theb (use like openai pypi package)

# import library
from gpt4free import theb

# simple streaming completion

while True:
    x = input()
    for token in theb.Completion.create(x):
        print(token, end='', flush=True)
    print("")