* fix: parse width and height as int when applying metadata (#2452)
fixes an issue with A1111 metadata scheme where width and height are strings after splitting resolution
* feat: use jpeg instead of jpg, use enums instead of strings
* feat: add metadata hint to history log
* feat: add actual metadata_scheme to log instead of only boolean
* feat: add steps to log if they were overridden
* fix: pass copy of metadata
prevents LoRA file extension removal in history log caused by passing reference to meta_parser fooocus scheme
* Add docker files
* Add python precompiled cache file in the image
* Add Notes in docker.md
* Create docker-publish.yml
* Modify docker-compose.yml not to use the bind mount
* Update torch version
* Change --share to --listen
* Update torch version
* Change '--share' to '--listen`
* adjust code comments
* Update requirements-docker.txt
* chore: code cleanup
- default_model env var isn't necessary as model is included in default preset, same for speed
- ENV CMDARGS --listen is now synched with docker-compose.yml file
- remove
* Change entry_with_update.py to launch.py in entrypoint.sh
* Change CMD in Dockerfile
* Change default CMDARGS to --listen in Dockerfile
* Modify CMD in Dockerfile
* Fix docker-compose.yml
* Import files from models,outputs
* docs: change wording in docker.md, change git clone URL, add quotes to port mapping
* docs: remove docker publish github action, remove pre-built image from docs
* Modify modules versions for linux/arm64
* docs: update docker readme
---------
Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
Co-authored-by: Manuel Schmid <dev@mash1t.de>
Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
* feature: added flag, config and ui update for image extension change #1789
* moved function to config module
* moved image extension to webui via async worker. Passing as parameter to log and get_current_html_path functions per feedback
* check flag before displaying image extension radio button
* disabled if image log flag is passed in
* fix: add missing image_extension parameter to log call
* refactor: change label
* feat: add webp to image_extensions
supported image extemsions: see https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html
* feat: use consistent file name in gradio
returns and uses filepaths instead of numpy image by saving to temp dir
uses double the temp dir file storage on disk as it saves to temp dir and gradio temp dir when displaying the image, but reuses logged output image
* feat: delete temp images after yielding to gradio
* feat: use args temp path if given
* chore: code cleanup, remove redundant if statement
* feat: always show image_extension element
this is now possible due to image extension support in gradio via https://github.com/lllyasviel/Fooocus/pull/1932
* refactor: rename image_extension to image_file_extension
* feat: use optimized jpg parameters when saving the image
quality=95
optimize=True
progressive=True
* refactor: rename image_file_extension to output_format
* feat: add exif handling
* refactor: code cleanup, remove items from metadata output
---------
Co-authored-by: Manuel Schmid <dev@mash1t.de>
Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
Co-authored by: eddyizm <wtfisup@hotmail.com>