VORTEX provides free access to text and image generation models.
Project description
VortexGPT
VortexGPT provides free access to text and image generation models.
Getting Started:
python -m pip install -U VortexGPT
Join my Discord server for live chat, support, or if you have any issues with this package.
Sources:
Model | Website |
---|---|
gpt3 | chat9.yqcloud.top |
gpt4 | you.com |
alpaca_7b | chatllama.baseten.co |
falcon_40b | gpt-gm.h2o.ai |
prodia | prodia.com |
pollinations | pollinations.ai |
Support this repository:
- 🎉 Join my Discord Server: Chat with me and others. Join here:
Examples:
Text Completion:
Async:
from VortexGPT import AsyncClient
from asyncio import run
async def main():
while True:
prompt = input("👦: ")
try:
resp = await AsyncClient.create_completion("MODEL", prompt)
print(f"🤖: {resp}")
except Exception as e:
print(f"🤖: {e}")
run(main())
Non-Async:
from VortexGPT import Client
while True:
prompt = input("👦: ")
try:
resp = Client.create_completion("MODEL", prompt)
print(f"🤖: {resp}")
except Exception as e:
print(f"🤖: {e}")
Image Generation:
Async:
from VortexGPT import AsyncClient
from PIL import Image
from io import BytesIO
from asyncio import run
async def main():
while True:
prompt = input("👦: ")
try:
resp = await AsyncClient.create_generation("MODEL", prompt)
Image.open(BytesIO(resp)).show()
print(f"🤖: Image shown.")
except Exception as e:
print(f"🤖: {e}")
run(main())
Non-Async:
from VortexGPT import Client
from PIL import Image
from io import BytesIO
while True:
prompt = input("👦: ")
try:
resp = Client.create_generation("MODEL", prompt)
Image.open(BytesIO(resp)).show()
print(f"🤖: Image shown.")
except Exception as e:
print(f"🤖: {e}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
VortexGPT-0.1.tar.gz
(20.2 kB
view details)
Built Distribution
VortexGPT-0.1-py3-none-any.whl
(26.8 kB
view details)
File details
Details for the file VortexGPT-0.1.tar.gz
.
File metadata
- Download URL: VortexGPT-0.1.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8b4a8a5f1e915a64df02ad24a9cf6272d47b08b5d2216e5f74811a73b4997ca |
|
MD5 | 46d158eca0bbed4cb8f753c304961e80 |
|
BLAKE2b-256 | 4d7488350d8e683a67b6344ae9a9aa56d910d2210c00ec79497f7d2033669d12 |
File details
Details for the file VortexGPT-0.1-py3-none-any.whl
.
File metadata
- Download URL: VortexGPT-0.1-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2008486b6888526a44082d3bd053890d61e88f0dbb24076a98682de2c2f73c43 |
|
MD5 | e320aed8609a6f04edcd0d2486e22071 |
|
BLAKE2b-256 | 4a16ff5deca013f0c0fc3ffcc15d566adb8a11a58d8a0268d1f8e4f352f0f712 |