(realpath is necessary because the interpreter has its $CWD pointing to the location of the model file, so it needs an explicit path to the Python file.)
Note that the flake can also build the code outside of the environment. For example, the following should work even outside of the development environment:
This PR improves the flake for
image_scoring_plugin
.The main features are:
For executing the interactive environment, run
For testing, run:
(
realpath
is necessary because the interpreter has its $CWD pointing to the location of the model file, so it needs an explicit path to the Python file.)Note that the flake can also build the code outside of the environment. For example, the following should work even outside of the development environment: