summaryrefslogtreecommitdiffstats
path: root/testing/italygpt2_test.py
diff options
context:
space:
mode:
authorSife-shuo <88375951+Sife-shuo@users.noreply.github.com>2023-05-19 17:01:57 +0200
committerSife-shuo <88375951+Sife-shuo@users.noreply.github.com>2023-05-19 17:01:57 +0200
commit053719847dc80a37007406c69bf7979c4ae697db (patch)
tree3ad931e4df6e920fd68c55010be28880a803da9e /testing/italygpt2_test.py
parentMerge pull request #543 from mitchcapper/analytics_warning_pr (diff)
downloadgpt4free-053719847dc80a37007406c69bf7979c4ae697db.tar
gpt4free-053719847dc80a37007406c69bf7979c4ae697db.tar.gz
gpt4free-053719847dc80a37007406c69bf7979c4ae697db.tar.bz2
gpt4free-053719847dc80a37007406c69bf7979c4ae697db.tar.lz
gpt4free-053719847dc80a37007406c69bf7979c4ae697db.tar.xz
gpt4free-053719847dc80a37007406c69bf7979c4ae697db.tar.zst
gpt4free-053719847dc80a37007406c69bf7979c4ae697db.zip
Diffstat (limited to '')
-rw-r--r--testing/italygpt2_test.py4
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