A newer version of the Gradio SDK is available: 5.23.1
5.23.1
theb
# 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("")