summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamza <hamzaoubrahim51@gmail.com>2023-05-04 17:30:34 +0200
committerHamza <hamzaoubrahim51@gmail.com>2023-05-04 17:30:34 +0200
commit64ab4770dd84088d5465edd3a37b69529fa8d372 (patch)
tree104ff82662739879b6e0f4ede2facc4f584b0be5
parentForefront fixed (diff)
downloadgpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.tar
gpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.tar.gz
gpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.tar.bz2
gpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.tar.lz
gpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.tar.xz
gpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.tar.zst
gpt4free-64ab4770dd84088d5465edd3a37b69529fa8d372.zip
Diffstat (limited to '')
-rw-r--r--gpt4free/forefront/__init__.py1
-rw-r--r--gpt4free/test.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/gpt4free/forefront/__init__.py b/gpt4free/forefront/__init__.py
index a3912fb4..dbf1730b 100644
--- a/gpt4free/forefront/__init__.py
+++ b/gpt4free/forefront/__init__.py
@@ -1,6 +1,7 @@
from json import loads
from xtempmail import Email
from re import findall
+from typing import Optional, Generator
from faker import Faker
from time import time, sleep
from uuid import uuid4
diff --git a/gpt4free/test.py b/gpt4free/test.py
new file mode 100644
index 00000000..b2516748
--- /dev/null
+++ b/gpt4free/test.py
@@ -0,0 +1,4 @@
+import forefront
+token = forefront.Account.create()
+response = forefront.Completion.create(token=token, prompt='Hello!')
+print(response) \ No newline at end of file