pip install -r requirements.txtExport 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.pyIf 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