InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

add --version to invoke.py arguments

Open lstein opened this issue 2 years ago • 1 comments

This commit allows invoke.py to print out its name and version number when given the --version argument. I had to move some status messages around in order to make the output clean.

There is still an early message about initializing patchmatch that interferes with a clean print of the version, and in fact the --no-patchmatch argument is not doing anything. This will be the subject of a subsequent PR.

lstein avatar Dec 16 '22 18:12 lstein

This is ready for review.

lstein avatar Dec 17 '22 23:12 lstein

I'll try to test this later tonight, but noticed that an empty create_installer.sh file was added - is this intentional?

ebr avatar Dec 19 '22 22:12 ebr

(question about the empty installer/create_installer.sh still remains though)

This is really strange, since it is only empty when viewed in this PR, but when I check out the PR it is not empty, also not empty when I view the File in the Commit itself.

So let's knock on wood that this is only a bug in GitHub's WebUI 🙈

mauwii avatar Dec 20 '22 11:12 mauwii

ok, I see what happened - the permissions were adjusted from 0755 to 0644, i.e. create_installer.sh was made non-executable. @lstein , was that intentional?

ebr avatar Dec 20 '22 14:12 ebr