gpt4free/testing/italygpt2_test.py
2023-05-19 23:01:57 +08:00

4 lines
198 B
Python

from gpt4free import italygpt2
account_data=italygpt2.Account.create()
for chunk in italygpt2.Completion.create(account_data=account_data,prompt="Who are you?"):
print(chunk, end="", flush=True)