AI Art is a plugin for DSS that allows you to generate images from text prompts.
For usage instructions, see the documentation.
Format the code using Black:
make blackLint the code using Flake8, and verify that the code was formatted using Black:
make lintRun unit tests:
make unit-testsRun integration tests:
make integration-testsRun all linters and tests at once:
make testsCreate a plugin archive that can be imported into DSS:
make plugin-
Due to licensing restrictions, the weights must be acquired manually before you can use this plugin. See the documentation for details.
-
The weights must be stored on the local filesystem. If a remote folder (S3, etc) is used, or if the recipe uses containerized execution, the weights will be downloaded to a temporary directory every time the recipe is run. This is because the method used to load the weights (from_pretrained) requires a local filepath.