This is a interface for WebGenieAI Subnet.
Follow these steps to install the WebGenieAI Subnet Interface:
- Clone the repository:
git clone https://github.com/web-genie-ai/subnet-client.git
cd subnet-client
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
# On Windows:
venv\Scripts\activate
# On macOS and Linux:
source venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
curl --location 'http://209.145.56.217:8000/api/v1/generate' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Build hello world page"
}'