summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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