Create Lilypad modules.
- Build a Job Module – How to build a Lilypad job module
- JS CLI Wrapper – How to run the Lilypad CLI wrapper locally
Create Lilypad Module works on macOS, Windows, and Linux.
If something doesn’t work, please file an issue.
If you have questions or need help, please ask in GitHub Discussions.
To create a new Lilypad module, install our CLI tool:
pip install create-lilypad-module
If you've previously installed create-lilypad-module
, you should to ensure that you're using the latest version:
pip install --upgrade create-lilypad-module
Now run create-lilypad-module
:
create-lilypad-module
The CLI will ask for the name of your project. Alternatively, you can run:
create-lilypad-module project_name
cd project_name
Output:
project_name
├── config
│ └── constants.py
├── scripts
│ ├── docker_build.py
│ ├── download_models.py
│ └── run_module.py
├── src
│ └── run_inference.py
├── .dockerignore
├── .env
├── .gitignore
├── Dockerfile
├── lilypad_module.json.tmpl
├── README.md
└── requirements.txt