Manuel Schmid
dc6c02540a
Merge branch 'feature/use-consistent-file-name-in-gradio' into jpg_config_image_extension
...
# Conflicts:
# modules/async_worker.py
# modules/private_logger.py
2024-01-14 21:47:05 +01:00
Manuel Schmid
eeb57f3ff5
chore: code cleanup, remove redundant if statement
2024-01-14 21:20:13 +01:00
Manuel Schmid
1779fa0f3a
feat: use args temp path if given
2024-01-14 21:19:01 +01:00
Manuel Schmid
161b988522
feat: delete temp images after yielding to gradio
2024-01-14 21:16:16 +01:00
Manuel Schmid
3c855bd331
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
2024-01-14 20:21:33 +01:00
Manuel Schmid
26f31ff2bd
feat: add webp to image_extensions
...
supported image extemsions: see https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html
2024-01-14 14:25:52 +01:00
Manuel Schmid
d79c1d5a27
refactor: change label
2024-01-14 14:25:01 +01:00
Manuel Schmid
694763447d
fix: add missing image_extension parameter to log call
2024-01-14 14:23:36 +01:00