Browse Source

python codeblock

wyrde-docs
wyrde 2 years ago committed by GitHub
parent
commit
2e7bfc67e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      misc/README.md

2
misc/README.md

@ -11,7 +11,7 @@ a configuration file that adds some SD-related tags allowing exiftool to edit th
## workping.py
A CLI script for adding a workflow to a PNG file. Requres Pillow module (PIL). It updates the image file, make a backup if you want extra safety.
```
python workping.py --image "/path/to/image.png" --workflow "/path/to/workflow.json"
/path/to/python workping.py --image "/path/to/image.png" --workflow "/path/to/workflow.json"
```
* note
* both comfy and a111 use pillow, but it may not be installed globally. Use the path to comfy or a111's python or a venv if pillow isn't accessable by system python. Or install from below.

Loading…
Cancel
Save