summaryrefslogtreecommitdiffstats
path: root/testing/italygpt2_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/italygpt2_test.py')
-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