Uminosachi
8fec5cb42e
Support downloading and mask generation of SAM 2
2024-07-31 16:26:00 +09:00
Uminosachi
167da47dea
Fix error when using reference_only of ControlNet
2024-07-28 14:46:31 +09:00
Uminosachi
03a1fabb16
Disable triton via env when platform is Windows
2024-06-22 16:26:51 +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
aa077dd54c
Refactor package installation to use dict and loop
2024-05-09 21:18:39 +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
a08995a7d2
Fix for immediate reflection of web UI settings
2023-10-18 11:31:34 +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
a53fbfa882
Check if web UI img2img output path is absolute
2023-10-04 10:24:20 +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
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
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
3547a2e6fb
Set init_images inside iter loop for SD.Next
2023-09-17 10:46:52 +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
39cfc00098
Add web link to IP-Adapter in ControlNet options
2023-09-08 22:50:27 +09:00
Uminosachi
9064a673d4
Add support for IP-Adapter in ControlNet options
2023-09-08 15:51:10 +09:00
Uminosachi
3af1a6a12b
Support zoom and reset by key for output image
2023-09-05 16:36:54 +09:00
Uminosachi
af4ee99aab
Reset iteration slider to 1 after inpainting
2023-09-03 12:19:07 +09:00
Uminosachi
1a20d073f8
Support saving last model of inpainting webui
2023-08-30 20:04:07 +09:00
Uminosachi
1bb082803c
Refactor config file read and write code
2023-08-30 16:44:30 +09:00
Uminosachi
0ed3c9a822
Add iteration support to CN and web UI inpainting
2023-08-28 20:41:11 +09:00
Uminosachi
4794183f4e
Add decorator that support yield from nest
2023-08-28 17:12:28 +09:00
Uminosachi
6db723cf27
Move torch.Generator out of for statement
2023-08-28 14:47:54 +09:00
Uminosachi
886e6f292a
Add iteration count argument and for statement
2023-08-28 14:24:22 +09:00
Uminosachi
8efdbb60e9
Change privateuseone check to device.type
2023-08-28 09:55:36 +09:00
Uminosachi
503bf04157
Set cpu to Generator when device is privateuseone
2023-08-28 09:28:33 +09:00
Uminosachi
e324de289a
Improve image resize process and log display
2023-08-27 20:03:23 +09:00
Uminosachi
72dadb49fc
Set variant argument for some buttons of gradio
2023-08-26 11:00:09 +09:00
Uminosachi
78f6832032
Use ContextDecorator for switching torch.load
2023-08-24 09:18:32 +09:00
Uminosachi
94b0b947f2
Add function for retrieving web UI settings
2023-08-23 20:12:19 +09:00
Uminosachi
e2da51f34f
Update title for offline inpainting option
2023-08-23 10:55:15 +09:00
Uminosachi
fbbe8ad610
Add option to run Segment Anything on CPU
2023-08-23 10:03:01 +09:00
Uminosachi
5df11f37eb
Fix mismatch between model and VAE post-backup
2023-08-19 21:24:07 +09:00
Uminosachi
ed2f526d67
Move most of select_mask code to separate file
2023-08-18 22:45:24 +09:00
Uminosachi
e94bd22081
Remove try section in library and refactor
2023-08-18 21:42:45 +09:00
Uminosachi
1770271b7b
Move most of run_sam processing to separate file
2023-08-18 20:14:54 +09:00
Uminosachi
a825d6ca27
Rename API folder and add some functions
2023-08-18 15:43:22 +09:00