diff options
author | hp256 <971748116@qq.com> | 2023-05-22 08:00:00 +0200 |
---|---|---|
committer | hp256 <971748116@qq.com> | 2023-05-22 08:00:00 +0200 |
commit | c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32 (patch) | |
tree | df1984762765b3c9ef9c5fcff304a8998fdd1f98 /testing/italygpt2_test.py | |
parent | add oraai (diff) | |
parent | Merge pull request #584 from ezerinz/main (diff) | |
download | gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.tar gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.tar.gz gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.tar.bz2 gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.tar.lz gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.tar.xz gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.tar.zst gpt4free-c7d26ed86719e1aacf2ff44fb10d9f79a3c2ea32.zip |
Diffstat (limited to 'testing/italygpt2_test.py')
-rw-r--r-- | testing/italygpt2_test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/italygpt2_test.py b/testing/italygpt2_test.py new file mode 100644 index 00000000..0494c8a2 --- /dev/null +++ b/testing/italygpt2_test.py @@ -0,0 +1,4 @@ +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)
\ No newline at end of file |