Skip to content

Repository files navigation

Sock Knitting Designer

Installation

pip install -r requirements.txt

Usage

Export first your DeepAI and Perplexity API Keys

export DEEPAI_API_KEY=<your API key>
export PERPLEXITY_API_KEY=<your API key>

Then run the program

python sock-knitter.py

Local testing

If you don't have API keys, you can test the functionality with demo images. Note that the pattern shown doesn't match the image that you selected.

export TEST_MODE=1
python sock-knitter.py

About

Sock Knitting Designer

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages