Commit Graph
8 Commits
Author SHA1 Message Date
MillyandAUTOMATIC1111 4f33289d0f Fixed typo 2022-10-08 17:15:30 +03:00
MillyandAUTOMATIC1111 405c8171d1 Prefer using Processed.sd_model_hash attribute when filename pattern 2022-10-06 20:41:23 +03:00
MillyandAUTOMATIC1111 1cc36d170a Added job_timestamp to Processed
So `[job_timestamp]` pattern can use in saving image UI.
2022-10-06 20:41:23 +03:00
MillyandAUTOMATIC1111 070b7d60cf Added styles to Processed
So `[styles]` pattern can use in saving image UI.
2022-10-06 20:41:23 +03:00
MillyandAUTOMATIC1111 cf7c784fcc Removed duplicate defined models_path
Use `modules.paths.models_path` instead `modules.shared.model_path`.
2022-10-06 20:29:12 +03:00
MillyandAUTOMATIC1111 0bb458f0ca Removed duplicate image saving codes
Use `modules.images.save_image()` instead.
2022-10-06 20:15:39 +03:00
MillyandAUTOMATIC1111 eec1b39bd5 Apply prompt pattern last 2022-10-04 15:22:49 +03:00
MillyandAUTOMATIC1111 a8a75ec43a Fixed filename part sanitizing
The following file patterns are invalid on Windows.
- Begin or end with the ASCII Space (0x20)
- End with the ASCII Period (0x2E)

For example, if `[prompt_spaces]` is specified as the directory name pattern, sometimes file saving may fail.
2022-09-20 09:46:44 +03:00