Commit Graph

357 Commits (ac2da7e9bf8a0ffcd3dbcab738e2b3e631454ffd)

Author SHA1 Message Date
Uminosachi ac2da7e9bf Change warnings.simplefilter to filterwarnings 2024-06-21 10:04:38 +09:00
Uminosachi 798737ae78 Remove UserWarning when registering TinyViT model 2024-06-21 09:14:06 +09:00
Uminosachi df7bfd8b2c Remove resume_download from args as deprecated 2024-06-21 08:26:43 +09:00
Uminosachi 4e5c2c7a91 Move SDXL VAE validation step after model loading 2024-06-09 17:06:57 +09:00
Uminosachi 67b7f80f69 Allow combination of SDXL model and SDXL VAE 2024-06-09 16:41:32 +09:00
Uminosachi b7e105a6a9 Set scheduler in args only if img2img class has it 2024-06-08 19:43:10 +09:00
Uminosachi cac134a5fe Add scheduler to img2img args and set "Automatic" 2024-06-08 19:01:32 +09:00
Uminosachi 347f0eea6f Filter FutureWarning from timm with ignore 2024-05-31 15:37:53 +09:00
Uminosachi aa077dd54c Refactor package installation to use dict and loop 2024-05-09 21:18:39 +09:00
Uminosachi bfe7222bcc Filter FutureWarning from huggingface_hub with ignore 2024-05-08 15:03:36 +09:00
Uminosachi 79bb14139b Fix linting warnings and errors using Ruff 2024-05-08 14:22:17 +09:00
Uminosachi ed336d45b0 Add installation of timm required to run lama-cleaner 2024-05-07 18:46:44 +09:00
Uminosachi a980f40a29 Add threshold_a and b to config of ControlNet's inpaint 2024-04-23 19:21:05 +09:00
Uminosachi 79458bcbaa Add threshold_b to config of ControlNet's IP-Adapter 2024-04-21 12:14:03 +09:00
Uminosachi e2725802be Add installation of packages required to run lama-cleaner 2024-04-01 16:46:52 +09:00
Uminosachi 6305c6189e Change to keep lama-cleaner locally instead of installing by pip 2024-04-01 11:23:26 +09:00
Uminosachi ab57640de4 Fix missing attribute in FastSAM's 'Upsample' 2024-02-18 16:34:30 +09:00
Uminosachi a08995a7d2 Fix for immediate reflection of web UI settings 2023-10-18 11:31:34 +09:00
Uminosachi a058a09d50
Merge pull request #109 from khatamnejad/main
Introduces "Segment Anything Models Directory" option to change default Segment Anything models directory
2023-10-18 11:07:20 +09:00
Aydin Khatamnejad fa69848b8f Introduces "Segment Anything Models Directory" option to change default Segment Anything models directory
Both Segment Anything and Inpaint Anything AUTOMATIC1111 extensions require "SAM" models to work, however they don't use the same directory for storing these models. The introduced  "Segment Anything Models Directory" allows Inpaint Anything to use Segment Anything models directory so that there won't be any need to have 2 sets of the same models in the file system.
2023-10-17 20:16:37 -04:00
Uminosachi bf4d49e296 Fix error when iteration_count slider is None 2023-10-10 21:06:26 +09:00
Uminosachi a14612c7a0 Handle errors raised in pathlib and set path 2023-10-08 18:20:37 +09:00
Uminosachi a53fbfa882 Check if web UI img2img output path is absolute 2023-10-04 10:24:20 +09:00
Uminosachi 7e692bfc19 Follow path setting of img2img-images in web UI 2023-10-04 06:48:05 +09:00
Uminosachi 18c3ad6349 Load SAM HQ model to CPU if CUDA is not available 2023-10-02 19:41:36 +09:00
Uminosachi 3c312bde08 Remove fixed-height of Gallery preview in Gradio 2023-10-01 12:48:10 +09:00
Uminosachi 03095102da Set style.height of Gallery for older Gradio 2023-09-30 20:28:14 +09:00
Uminosachi 6e177e3b82 Support style function in older Gradio version 2023-09-30 09:47:13 +09:00
Uminosachi ab3342ab07 Set True to gr.Gallery preview argument 2023-09-29 22:02:35 +09:00
Uminosachi f836db5f07 Set contain to gr.Gallery object_fit argument 2023-09-29 21:46:08 +09:00
Uminosachi 58397c9d56 Optimize Gradio Gallery height of output image 2023-09-29 19:48:32 +09:00
Uminosachi 5c983a5aab Change output Gradio class from Image to Gallery 2023-09-29 10:38:16 +09:00
Uminosachi 863fbfd619 Optimize sketch clearing time with js update 2023-09-28 10:05:58 +09:00
Uminosachi 4f0d8eba6e Initialize sketch image area after image upload 2023-09-27 12:47:18 +09:00
Uminosachi 067038bd18 Enable mask editing by simply uploading image 2023-09-27 11:31:12 +09:00
Uminosachi 4164df0774
Merge pull request #101 from Sj-Si/feature/expand-mask-iteration-count-control
Feature: Add Slider for "Expand Mask" Iteration Count
2023-09-27 06:59:39 +09:00
Uminosachi 4dcf29d5ad
Update inpaint_anything.py 2023-09-27 06:47:08 +09:00
Sj-Si 938580f66c Increase limit to expand_mask iterations 2023-09-26 14:47:11 -04:00
Sj-Si 647ecf8c9d Add slider for expand_mask button iteration count. 2023-09-26 12:18:33 -04:00
Uminosachi 8004691a0f Set do_not_save_grid of webui processing to True 2023-09-26 06:51:14 +09:00
Uminosachi b7e5d9fcd8 Fix torchvision.nms NotImplementedError issue 2023-09-18 12:45:51 +09:00
Uminosachi 3547a2e6fb Set init_images inside iter loop for SD.Next 2023-09-17 10:46:52 +09:00
Uminosachi 1c90c702f9 Add CUDA condition to diffusers CPU offload 2023-09-13 13:29:23 +09:00
Uminosachi 096f14eaf2 Execute diffusers pipe as float32 if ROCm torch 2023-09-12 22:41:20 +09:00
Uminosachi f0d333ba36 Update decorator to auto-identify generator func 2023-09-12 10:08:33 +09:00
Uminosachi 7a0c424303 Optimize to reduce unnecessary CPU offloading 2023-09-11 19:16:35 +09:00
Uminosachi a868cf8b5f Offload when lowvram and medvram are not added 2023-09-11 13:51:37 +09:00
Uminosachi 4650c8aed3 Fix not to offload if shared.sd_model is SDXL 2023-09-11 12:52:13 +09:00
Uminosachi dd6b95834d Fix type hint to make library work on python 3.8 2023-09-09 08:20:58 +09:00
Uminosachi 39cfc00098 Add web link to IP-Adapter in ControlNet options 2023-09-08 22:50:27 +09:00