stable-diffusion-webui/frontend
cobryan05 9d95449624
Metadata cleanup - Maintain metadata within UI (#845)
* Metadata cleanup - Maintain metadata within UI

This commit, when combined with Gradio 3.2.1b1+, maintains image
metadata as an image is passed throughout the UI. For example,
if you generate an image, send it to Image Lab, upscale it, fix faces,
and then drag the resulting image back in to Image Lab, it will still
remember the image generation parameters.

When the image is saved, the metadata will be stripped from it if
save-metadata is not enabled. If the image is saved by *dragging*
out of the UI on to the filesystem it may maintain its metadata.

Note: I have ran into UI responsiveness issues with upgrading Gradio.
Seems there may be some Gradio queue management issues. *Without* the
gradio update this commit will maintain current functionality, but
will not keep meetadata when dragging an image between UI components.

* Move ImageMetadata into its own file

Cleans up webui, enables webui_streamlit et al to use it as well.

* Fix typo
2022-09-09 19:27:21 +03:00
..
css separate css to external file 2022-09-08 10:10:03 +08:00
js fix: advanced editor (#827), close #811 2022-09-08 15:43:08 +03:00
__init__.py Refactored the UI, added a web_playground.py to be run without any models. 2022-08-29 00:41:17 +01:00
CODEOWNERS fixes [CHORE] - add codeowners file for altryne on /frontend #386 (#387) 2022-08-31 20:39:04 +01:00
css_and_js.py fix: advanced editor (#827), close #811 2022-09-08 15:43:08 +03:00
frontend.py Fixed aspect ratio box not being updated on txt2img tab, for issue 219 from old repo (#812) 2022-09-09 17:58:59 +03:00
image_metadata.py Metadata cleanup - Maintain metadata within UI (#845) 2022-09-09 19:27:21 +03:00
job_manager.py Revert "Revert "img2img-fix (#717)"" 2022-09-07 02:56:27 +01:00
ui_functions.py resolve conflict with master 2022-09-08 13:27:21 +03:00