Commit Graph
100 Commits
Author SHA1 Message Date
w-e-w e9d4da7b56 restore outputs path
output -> outputs
2024-03-19 00:54:56 +09:00
w-e-w 38a7dc5488 v180_hr_styles actual version number 2024-03-16 17:19:38 +09:00
w-e-w a3a648bf6b bump action version 2024-03-16 05:57:23 +09:00
w-e-w 887a512208 fix issue with Styles when Hires prompt is used 2024-03-15 21:06:54 +09:00
w-e-w c40f33ca04 PEP 604 annotations 2024-03-15 08:22:36 +09:00
w-e-w 1a1205f601 fix Restore progress 2024-03-12 03:26:50 +09:00
w-e-w 9fd0cd6a80 update preview on Replace Preview 2024-03-10 18:24:52 +09:00
w-e-w fb62f1fb40 add entry to MassFileLister after writing metadata
fix #15184
2024-03-10 06:07:16 +09:00
w-e-w 706f63adfa fix extract_style_text_from_prompt #15132 2024-03-05 12:35:46 +09:00
w-e-w 71072f5620 re-work open image button settings 2024-02-18 02:47:44 +09:00
w-e-w a18e54ecd7 option "open image button" open the actual dir 2024-02-18 00:38:05 +09:00
w-e-w 13fd466c18 fix extra-network-control--enabled color
also add forgotten semicolon
2024-02-12 04:07:14 +09:00
w-e-w 7583351760 extensions tab table row hover highlight 2024-02-10 18:09:10 +09:00
w-e-w 542611cce4 walk_files extensions case insensitive 2024-02-10 05:39:01 +09:00
w-e-wandAndray 6b8458eb9f if extensions page not loaded, prevent apply
since they are built-in extensions we can make the assumption that they will be at least one or more extensions

Co-Authored-By: Andray <33491867+light-and-ray@users.noreply.github.com>
2024-02-09 23:19:39 +09:00
w-e-w bbe8e02d74 catch load style.csv error 2024-02-01 15:40:15 +09:00
w-e-w c4255d12f7 add tooltip create_submit_box 2024-01-31 04:36:11 +09:00
w-e-w eae0bb89fd set_named_arg fuzzy option 2024-01-27 21:55:52 +09:00
w-e-wandMartin Rizzo 486aeda3a7 fix CLIP Interrogator topN regex
Co-Authored-By: Martin Rizzo <60830236+martin-rizzo@users.noreply.github.com>
2024-01-27 19:35:07 +09:00
w-e-w 2996e43ff7 fix txt2img_upscale
use force_enable_hr to set p.enable_hr = True
allow Script.setup() have access to the correct value

add a comment for p.txt2img_upscale
2024-01-27 14:55:47 +09:00
w-e-w 36d1fefc19 rework set_named_arg
change identifying a script from using Scripts class name to Scripts internal name an
as not all Script have unique names

raise RuntimeError when there's issue
2024-01-27 14:42:52 +09:00
w-e-w 47cf92039b minor fix to #14525 2024-01-26 17:16:53 +09:00
w-e-w 0466ee2a83 xyz filter blank for number axes 2024-01-25 05:45:45 +09:00
w-e-w e36827af32 improve get_crop_region 2024-01-21 09:02:18 +09:00
w-e-w 25e8273d2f re-work multi --styles-file
--styles-file change to append str
--styles-file is [] then defaults to [styles.csv]

--styles-file accepts paths or paths with wildcard "*"

the first `--styles-file` entry is use as the default styles file path
if filename a wildcard then the first matching file is used
if no match is found, create a new "styles.csv" in the same dir as the first path

when saving a new style it will be save in the default styles file
when saving a existing style, it will be saved to file it belongs to

order of the styles files in the styles dropdown can be controlled to a certain degree by the order of --styles-file
2024-01-21 03:53:58 +09:00
w-e-w 2cf23099eb fix console total progress bar when using txt2img_upscale
add p.txt2img_upscale as indicator
2024-01-18 04:44:21 +09:00
w-e-w e1dfd452c0 parse_generation_parameters with no skip_fields 2024-01-18 02:39:42 +09:00
w-e-w 6916de5c0b parse_generation_parameters skip_fields 2024-01-18 02:39:15 +09:00
w-e-w 45a51c07e2 parse_generation_parameters with no skip_fields 2024-01-18 02:36:19 +09:00
w-e-w d224fed0ce parse_generation_parameters skip_fields 2024-01-18 02:36:19 +09:00
w-e-w 6acd8e28fc save_files info base on infotexts 2024-01-18 02:33:43 +09:00
w-e-w 0b83f4c263 reuse seed from infotexts 2024-01-18 02:33:43 +09:00
w-e-w 14b9762bca immediately stop on second interrupt
Revert "immediately stop on second interrupt"

This reverts commit ab409072a1f2a9c911a63aee98a6b42081803cdc.

immediately stop on second interrupt
2024-01-16 17:18:05 +09:00
w-e-w c1e04c63b3 callback postprocess_image_after_composite 2024-01-16 14:18:20 +09:00
w-e-w 208ccfbe7c seed info from infotexts 2024-01-14 17:57:49 +09:00
w-e-w ee9d487081 fix gallery black image issue 2024-01-14 17:57:42 +09:00
w-e-w cfb90a938e allowe hr pass to return multiple images 2024-01-14 17:57:26 +09:00
w-e-w 92501d4f80 disable saving images before highres fix 2024-01-14 17:56:34 +09:00
w-e-w 4d9f2c3ec8 update p.seed and p.subseed 2024-01-10 01:56:44 +09:00
w-e-w 50158a1fc9 handle config.json failed to load 2024-01-04 06:30:52 +09:00
w-e-w bfc48fbc24 paste infotext cast int as float 2024-01-04 03:46:05 +09:00
w-e-w fccd0b00c2 reduce unnecessary re-indexing extra networks dir 2024-01-03 19:25:06 +09:00
w-e-w 00901bfbe0 handle selectable script_index is None 2024-01-01 15:47:57 +09:00
w-e-w 59d060fd5e More lora not found warning 2023-12-30 17:11:03 +09:00
w-e-w dc57ec0296 save info of init image 2023-12-29 01:56:48 +09:00
w-e-w 892e703b59 webpath use truncate_path 2023-12-28 06:52:41 +09:00
w-e-wandAlberto Cano af2951ed53 base default image output on data_path
Co-Authored-By: Alberto Cano <34340962+canoalberto@users.noreply.github.com>
2023-12-28 06:52:33 +09:00
w-e-w de04573438 create utility truncate_path
utli.truncate_path(target_path, base_path)
return the target_path relative to base_path if target_path is a sub path of base_path else return the absolute path
2023-12-28 06:22:51 +09:00
w-e-w edfae95d90 prevent crash due to Script __init__ exception 2023-12-23 01:21:00 +09:00
w-e-w de1809bd14 handle axis_type is None 2023-12-22 00:37:30 +09:00
w-e-w 3e068de0dc reorder training preprocessing modules in extras tab
using the order from before the rework
11d23e8ca5
2023-12-19 18:48:49 +09:00
w-e-w 10945aa41a only rewrite ui-config when there is change
and a typo
2023-12-18 15:27:41 +09:00
w-e-w 98c5fa9201 fix extras caption BLIP
#14328
2023-12-16 22:14:39 +09:00
w-e-w 0c5427960b make modal toolbar and icon opacity adjustable 2023-12-15 17:11:59 +09:00
w-e-w 3c0c277579 default False js_live_preview_in_modal_lightbox 2023-12-15 00:48:37 +09:00
w-e-w cc41cc4349 on mouse hover show / hide modal image viewer icons 2023-12-13 02:06:56 +09:00
w-e-w 8b74389e76 fix styles.csv filename 2023-12-10 15:48:16 +09:00
w-e-w 23a0e60b9b fix save styles 2023-12-10 15:48:00 +09:00
w-e-w 9d2cbf8e97 add option: Live preview in full page image viewer
make #13459 "show the preview image in the modal view if available" optional
2023-12-06 23:06:32 +09:00
w-e-w 854f8c318c remove clean_text() 2023-12-05 04:41:09 +09:00
w-e-w d3fdc4af61 rework mask and mask_composite logic 2023-12-03 18:22:41 +09:00
w-e-w c2ed413203 add max-heigh/width to global-popup-inner
prevent the pop-up from being too big as to making exiting the pop-up impossible
2023-12-01 02:59:41 +09:00
w-e-w d608926f81 reformat file with uniform indentation 2023-11-28 12:12:27 +09:00
w-e-w 03ee297aa2 fix Auto focal point crop for opencv >= 4.8.x
autocrop.download_and_cache_models
in opencv >= 4.8 the face detection model was updated
download the base on opencv version
returns the model path or raise exception
2023-11-28 12:09:51 +09:00
w-e-w 8a6e4bda21 catch uncaught exception with ui creation scripts
prevent total webui crash
2023-11-27 14:18:17 +09:00
w-e-w b30cc87b78 add Block component creation callback 2023-11-27 13:15:17 +09:00
w-e-w a15dd151ff json.dump(ensure_ascii=False)
improve json readability
2023-11-26 21:56:21 +09:00
w-e-w 6d337bf23d save sysinfo as .json
GitHub now allows uploading of .json files in issues
2023-11-20 01:38:31 +09:00
w-e-w dea5e43c83 Option to show batch img2img results in UI
shared.opts.img2img_batch_show_results_limit
limit the number of images return to the UI for batch img2img
default limit 32
0 no images are shown
-1 unlimited, all images are shown
2023-11-19 17:37:32 +09:00
w-e-w 5432d93013 fix added accordion settings options 2023-11-11 05:30:35 +09:00
w-e-w cc80a09d82 Update requirements_versions.txt 2023-11-04 00:50:30 +09:00
w-e-wandGitHub 35fd24e857 Less placeholder bug_report template 2023-10-03 23:05:48 +09:00
w-e-w d2878a8b0b XYZ if not Include Sub Grids do not save Sub Grid 2023-09-16 09:54:14 +09:00
w-e-w 663fb87976 Config states time ISO in system time zone 2023-09-16 09:11:54 +09:00
w-e-w cf1edc2b54 initialize state.time_start befroe state.job_count 2023-09-13 16:27:02 +09:00
w-e-w 5b761b49ad correct webpath when webui_dir is not work_dir 2023-09-13 16:05:55 +09:00
w-e-w 93015964c7 fix add_option overriding config with default 2023-09-12 22:53:09 +09:00
w-e-w 6fb2194d9c fetch version info when webui_dir is not work_dir 2023-09-12 16:50:56 +09:00
w-e-w 74b80e7211 add comment 2023-09-12 09:29:07 +09:00
w-e-w e785402b6a return nothing if not found 2023-09-11 19:37:55 +09:00
w-e-w c485a7d12e make InputAccordion work with ui-config 2023-09-11 13:47:44 +09:00
w-e-w ab57417175 prevent accessing non-existing keys 2023-09-09 22:35:50 +09:00
w-e-w f8042cb323 Ensure not override images with script enabled 2023-09-09 22:35:07 +09:00
w-e-w f5959c1c30 thread safe extra network using list 2023-09-09 17:05:50 +09:00
w-e-w 25de9a785c Revert "thread safe extra network list_items"
This reverts commit aab385d01b.
2023-09-09 16:56:19 +09:00
w-e-w c68aabc852 lint 2023-09-09 15:59:22 +09:00
w-e-w 46ef185709 deprecate --enable-console-prompts
use --enable-console-prompts as the default value for shared.opts.enable_console_prompts
2023-09-09 15:53:10 +09:00
w-e-w 63485b2c55 option use short name for checkpoint dropdown 2023-09-08 10:00:27 +09:00
w-e-w e4726cccf9 parsing string to path 2023-09-08 09:46:34 +09:00
w-e-wandGitHub c3d51fc696 Update bug_report.yml 2023-09-07 19:35:55 +09:00
w-e-w 45881703c5 consolidated allowed preview formats 2023-09-07 12:11:36 +09:00
w-e-w 340fce2113 enable console prompts in settings 2023-09-07 10:01:16 +09:00
w-e-w 657404b75b use original filename batch img2img with scripts 2023-09-06 20:33:43 +09:00
w-e-w 35d1c94549 save_images_add_number_suffix 2023-09-06 20:24:26 +09:00
w-e-w aab385d01b thread safe extra network list_items 2023-09-03 11:56:02 +09:00
w-e-w 061a4a295d Update bug_report.yml 2023-09-02 18:11:08 +09:00
w-e-w ba05e32789 update cmd arg description 2023-09-02 14:12:59 +09:00
w-e-w bd9b3d15e8 fix batch img2img output dir with script 2023-09-01 04:05:58 +09:00
w-e-w 348c6022f3 Action to calculate all SD checkpoint hashes 2023-09-01 00:56:55 +09:00
w-e-w c985d23c52 extension update time, convert to system time zone 2023-08-30 16:18:31 +09:00