1
0
Fork 0
GPT4FREE/gpt4free/theb/README.md
2023-05-01 17:53:32 +05:00

14 lines
281 B
Markdown

### Example: `theb` (use like openai pypi package) <a name="example-theb"></a>
```python
# 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("")
```