diff options
author | xtekky <98614666+xtekky@users.noreply.github.com> | 2023-05-19 23:10:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 23:10:10 +0200 |
commit | 7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e (patch) | |
tree | 44abd1e723528717bade69184d3f05c89c17196d /testing/italygpt2_test.py | |
parent | countdown timer (diff) | |
parent | upload italtgpt2 (diff) | |
download | gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.tar gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.tar.gz gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.tar.bz2 gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.tar.lz gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.tar.xz gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.tar.zst gpt4free-7fbe472b74193b6dc9e0d1004ddc8f26c466ea9e.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 |