Commit Graph

671 Commits (4e8c2e945d69ed87e2ecb95b30104e20f6fdb985)

Author SHA1 Message Date
Abdullah Alfaraj 4e8c2e945d check for missing controlNet input for img2img mode 2023-02-27 05:38:56 +03:00
Abdullah Alfaraj c75ee5b5c5 fix duplicate background layer issue 2023-02-27 05:15:23 +03:00
Abdullah Alfaraj f1e28789cb method to toggle the background layer 2023-02-27 05:00:21 +03:00
Abdullah Alfaraj f0f46d8fbd only request a new generation when the previous generation is finished 2023-02-27 04:44:34 +03:00
Abdullah Alfaraj aacf1915c0 check for update methods 2023-02-27 04:42:30 +03:00
Abdullah Alfaraj 076b220b3f make sure controlnet inputs are available before requesting txt2Img 2023-02-27 04:39:59 +03:00
Abdullah Alfaraj aec5978f75 Request status should be set to ideal/finished on initialize. 2023-02-27 04:36:25 +03:00
Abdullah Alfaraj 49ad686990 only end the session if it's active 2023-02-27 04:33:56 +03:00
Abdullah Alfaraj a43575d310 move the selection methods to selection.js 2023-02-27 04:33:16 +03:00
Abdullah Alfaraj 007e1ae78f temporarily comment deprecated warning 2023-02-27 04:29:15 +03:00
Abdullah Alfaraj 3d79954f0e setup the controlnet tab interface 2023-02-27 04:26:21 +03:00
Abdullah Alfaraj fcfa9b6f5a populate controlnet model and module menus 2023-02-27 04:24:55 +03:00
Abdullah Alfaraj 0ace53c512 utility function for creating menus 2023-02-27 04:22:07 +03:00
Abdullah Alfaraj af8c46b192 fix the update prompt message, get data from online file 2023-02-27 00:05:06 +03:00
Abdullah Alfaraj e2def41107 only get the controlnet settings when controlnet is enabled 2023-02-26 21:33:56 +03:00
Abdullah Alfaraj cac3ed5431 add controlnet ui settings 2023-02-26 11:38:06 +03:00
Abdullah Alfaraj 36849efd83 delete duplicate code caused by merge on conflict 2023-02-26 02:19:45 +03:00
Abdullah Alfaraj 1194807d39 only send control_net settings if control_net is enabled 2023-02-26 02:18:37 +03:00
Abdullah Alfaraj b900c437d7 method to populate a html menu 2023-02-26 02:17:42 +03:00
Abdullah Alfaraj 90127378f5 general get request function 2023-02-26 02:17:16 +03:00
Abdullah Alfaraj ab0b18f624 populate the control net model list 2023-02-26 02:16:38 +03:00
Abdullah Alfaraj 5851741400 remove duplicate code 2023-02-26 02:12:46 +03:00
Abdullah Alfaraj 6c74919240 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net_2 2023-02-25 07:38:39 +03:00
Abdullah Alfaraj 385d1060ae restore the settings after a generation 2023-02-25 07:21:29 +03:00
Abdullah Alfaraj d5cef4ea98 keep the original white mark layer off 2023-02-25 04:54:36 +03:00
Abdullah Alfaraj 9fac59871e
Merge pull request #116 from AbdullahAlfaraj/background_edge_cases
cover the background layer edge cases
2023-02-25 04:20:08 +03:00
Abdullah Alfaraj 3c643b379f cover the background layer edge cases 2023-02-25 04:19:18 +03:00
Abdullah Alfaraj c6e35be036
Merge pull request #115 from AbdullahAlfaraj/interrupt
Interrupt
2023-02-24 22:28:47 +03:00
Abdullah Alfaraj 194a196a87 bug fix: the interrupt button won't delete mask related layers 2023-02-24 22:26:39 +03:00
Abdullah Alfaraj 991b5b4c98 clean mask related layers when after canceling the generation 2023-02-24 08:28:50 +03:00
Abdullah Alfaraj 2a1c2cd626
Merge pull request #114 from AbdullahAlfaraj/save_settings
Save_settings
2023-02-24 04:23:17 +03:00
Abdullah Alfaraj 36c88c637f don't delete masks drawn on user made layer 2023-02-24 04:21:42 +03:00
Abdullah Alfaraj 19b48c8488 refactor duplicateLayer() 2023-02-24 04:19:55 +03:00
Abdullah Alfaraj 1f33c62951 make the progress image update optional 2023-02-24 02:29:41 +03:00
Abdullah Alfaraj 5bbe77142c save the "settings tab" settings 2023-02-24 01:13:26 +03:00
Abdullah Alfaraj f6738936bd refactor settings tab, move all functionality to settings.js 2023-02-23 23:02:32 +03:00
Abdullah Alfaraj 8abbfc769c load horde settings on plugin start 2023-02-23 21:03:57 +03:00
Abdullah Alfaraj 05a51cd42c functional save horde settings 2023-02-23 21:03:35 +03:00
Abdullah Alfaraj 0d28631e58 setter for native horde api key 2023-02-23 21:00:37 +03:00
Abdullah Alfaraj 62f251f958 refactor global variable 2023-02-23 19:20:57 +03:00
Abdullah Alfaraj ed2fdec08c add save and load files utility 2023-02-23 19:20:28 +03:00
Abdullah Alfaraj e89a99af27 fix bug: hi res won't work with 512x512 images 2023-02-23 04:00:32 +03:00
Abdullah Alfaraj ef01cc0120 better notification message for when the webui is offline 2023-02-23 03:23:58 +03:00
Abdullah Alfaraj f6a7b0dbd8 Merge branch 'notification' into master 2023-02-23 01:49:04 +03:00
Abdullah Alfaraj 8e790670e4 check for auto1111 status before each generation and notify the user if needed 2023-02-23 01:38:29 +03:00
Abdullah Alfaraj ce1866f34d test if the webui is running 2023-02-23 01:34:32 +03:00
Abdullah Alfaraj 9d7f5c79f2 return null when samplers list is empty 2023-02-23 01:29:48 +03:00
Abdullah Alfaraj 15e755726b add automatic status enum 2023-02-23 01:29:02 +03:00
Abdullah Alfaraj fc1d88cf3e add a list of samplers for offline use 2023-02-23 01:17:12 +03:00
Abdullah Alfaraj ebbe23ee98 catching error in the buttons unfocus method 2023-02-22 22:57:46 +03:00