Fooocus/modules
Manuel Schmid 5b7ddf8b22
feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981)
* only make stop_button and skip_button interactive when rendering process starts

fix inconsistency in behaviour of stop_button and skip_button as it was possible to skip or stop other users processes while still being in queue

* use AsyncTask for last_stop handling instead of shared

* Revert "only make stop_button and skip_button interactive when rendering process starts"

This reverts commit d3f9156854.

* introduce state for task skipping/stopping

* fix return parameters of stop_clicked

* code cleanup, do not disable skip/stop on stop_clicked

* reset last_stop when skipping for further processing

* fix: replace fcbh with ldm_patched

* fix: use currentTask instead of ctrls after merging upstream

* feat: extract attribute disable_preview

* feat: extract attribute adm_scaler_positive

* feat: extract attribute adm_scaler_negative

* feat: extract attribute adm_scaler_end

* feat: extract attribute adaptive_cfg

* feat: extract attribute sampler_name

* feat: extract attribute scheduler_name

* feat: extract attribute generate_image_grid

* feat: extract attribute overwrite_step

* feat: extract attribute overwrite_switch

* feat: extract attribute overwrite_width

* feat: extract attribute overwrite_height

* feat: extract attribute overwrite_vary_strength

* feat: extract attribute overwrite_upscale_strength

* feat: extract attribute mixing_image_prompt_and_vary_upscale

* feat: extract attribute mixing_image_prompt_and_inpaint

* feat: extract attribute debugging_cn_preprocessor

* feat: extract attribute skipping_cn_preprocessor

* feat: extract attribute canny_low_threshold

* feat: extract attribute canny_high_threshold

* feat: extract attribute refiner_swap_method

* feat: extract freeu_ctrls attributes

freeu_enabled, freeu_b1, freeu_b2, freeu_s1, freeu_s2

* feat: extract inpaint_ctrls attributes

debugging_inpaint_preprocessor, inpaint_disable_initial_latent, inpaint_engine, inpaint_strength, inpaint_respective_field, inpaint_mask_upload_checkbox, invert_mask_checkbox, inpaint_erode_or_dilate

* wip: add TODOs

* chore: cleanup code

* feat: extract attribute controlnet_softness

* feat: extract remaining attributes, do not use globals in patch

* fix: resolve circular import, patch_all now in async_worker

* chore: cleanup pid code
2024-02-24 19:01:06 +01:00
..
anisotropic.py 1.0.45 (#313) 2023-09-02 06:00:20 -07:00
async_worker.py feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981) 2024-02-24 19:01:06 +01:00
auth.py Blocked remote access to auth.json 2023-10-24 21:55:29 +02:00
config.py fix: implement output path argument (#2074) 2024-02-11 13:04:06 +01:00
constants.py Blocked remote access to auth.json 2023-10-24 21:55:29 +02:00
core.py feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981) 2024-02-24 19:01:06 +01:00
default_pipeline.py feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981) 2024-02-24 19:01:06 +01:00
flags.py [2.1.831] Fooocus Describe 2023-12-12 19:34:18 -08:00
gradio_hijack.py try fix #815 2023-10-29 22:03:59 -07:00
html.py 2.1.808 2023-11-14 14:06:12 -08:00
inpaint_worker.py [enhance]: use opencv to rewrite morphological_open(), achieve a 40x speed increase in morphological_open opporation, for inpanting images size smaller than 3k (#2016) 2024-01-27 05:12:34 -08:00
launch_util.py fix: replace regexp to support unicode chars (#1424) 2024-02-10 19:15:57 +01:00
localization.py 2.1.808 2023-11-14 14:06:12 -08:00
lora.py 2.1.826 2023-12-12 11:38:05 -08:00
meta_parser.py some fix for previous PRs 2023-12-28 08:07:43 -08:00
model_loader.py 2.0.80 (#520) 2023-10-03 10:36:42 -07:00
ops.py (requested) support AMD 8GB GPUs via Windows DirectML 2023-12-30 06:30:59 -08:00
patch_clip.py (requested) support AMD 8GB GPUs via Windows DirectML 2023-12-30 06:30:59 -08:00
patch_precision.py Fix many precision problems 2023-12-16 15:55:53 -08:00
patch.py feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981) 2024-02-24 19:01:06 +01:00
private_logger.py Fixed mistakes in HTML generation (#2187) 2024-02-10 17:50:41 +01:00
sample_hijack.py (requested) support AMD 8GB GPUs via Windows DirectML 2023-12-30 06:30:59 -08:00
sdxl_styles.py Add Marc K3nt3L's styles 2023-12-18 19:01:52 -08:00
style_sorter.py Add Marc K3nt3L's styles 2023-12-18 19:01:52 -08:00
ui_gradio_extensions.py feat: adds preview overlay for styles (#1762) 2024-01-07 15:10:42 -08:00
upscaler.py 2.1.826 2023-12-12 11:38:05 -08:00
util.py fix: sort with casefold, case insensitive 2024-02-12 21:59:22 +01:00