Commit Graph

18 Commits (e23d4e65a495d2cfbf2009fd30a9c9c9eae0aa7d)

Author SHA1 Message Date
hako-mikan aec98d9dea delete debug print 2025-01-29 19:50:09 +09:00
hako-mikan 012acc8f5b Change mask paint ui for Gradio-4 2025-01-29 00:17:58 +09:00
hako-mikan c572732e88 #285, #324 2025-01-27 19:55:59 +09:00
hako-mikan 9cf001474f
#290 2024-04-06 23:16:34 +09:00
hako-mikan 7e3e664f9e
#225,#232,#234 2023-10-19 00:17:47 +09:00
hako-mikan 029ecedd55
#234 2023-09-23 02:06:24 +09:00
hako-mikan 227693ce22
Change mode name 2023-09-04 00:55:17 +09:00
hako-mikan c1c6418c95
#192 2023-08-03 20:14:12 +09:00
zengjindong 36b504676d Title: Enhancement: Local Path Correction, Mask File Upload Support, and Color Filtering
Description:

This PR brings three major improvements to the current code:

Correction of Local File Path Reading: The existing implementation had issues with the path reading of local files. This PR addresses this by ensuring correct handling and interpretation of local file paths, thus preventing any discrepancies caused by incorrect directory navigation.

Support for Mask File Upload: The PR extends the application's functionality by introducing the ability to handle mask files uploaded as base64 strings. Previously, mask files could only be read from the local file system. Now, users can upload masks directly to the application, providing them with greater flexibility and ease of use.

Support for Similar Color Filtering: A key enhancement in this PR is the addition of a color filtering mechanism that effectively discards colors that are very close to each other when interpreting masks. This prevents the generation of separate masks for colors that are visually indistinguishable, leading to more meaningful and manageable mask sets.
2023-07-26 12:35:14 +08:00
hako-mikan a86d7869d1
#117,#162,#169 2023-07-19 01:00:11 +09:00
Symbiomatrix f421610251
Revert "Preview image now has resolution and aspect ratio from settings" 2023-06-08 11:24:54 +03:00
ArthurHeitmann 7f15130c03 Preview image now has resolution and aspect ratio from settings 2023-06-06 21:52:03 +02:00
SBM d0d112a1bf Json fix + region mask upload.
Changed basedir path so that it yields the extension's directory -
importing scripts from modules returns the root instead of extension.
Also added a fallback which uses scripts_path in case first option is
inaccessible.
Added some stuff to region masks: Upload (via a different component due
to bug), preset save and load, -1 region to clear areas.
2023-05-12 19:23:27 +03:00
SBM c99a0c5cba Revert "#91"
This reverts commit 0f52b58a55.
2023-05-03 00:26:34 +03:00
hako-mikan 0f52b58a55
#91 2023-05-02 14:50:06 +09:00
hako-mikan c64034845f
Update regions.py 2023-05-01 19:59:09 +09:00
hako-mikan a3c22cedc3
#80,#53 2023-05-01 19:56:52 +09:00
hako-mikan 886bedc9c9
add inpaint and prompt mode, splitted codes 2023-04-29 00:31:33 +09:00