Commit Graph

392 Commits (eca7bfd9bcec8f7d8a4e36b992b6247dcf63c7c3)

Author SHA1 Message Date
Abdullah Alfaraj 0de38f8477 allow for fixed seed while using batch count 2023-04-11 01:44:40 +03:00
Abdullah Alfaraj 7def4a8865 allow user to interrupt the batch count generation loop 2023-04-11 00:41:26 +03:00
Abdullah Alfaraj e48e18eb7d add an option to log errors/messages to a log file 2023-04-10 05:20:11 +03:00
Abdullah Alfaraj fa40e7ae9c add support to image cfg scale for pix2pix model 2023-04-10 05:17:23 +03:00
unknown ab74fed17b add batch_count 2023-04-09 16:24:32 +08:00
Abdullah Alfaraj 39834a205c round the width and height values to nearest multiple of 64 2023-04-08 16:55:10 +03:00
Abdullah Alfaraj 860923844b add a simple mechanism to log to file 2023-04-08 16:53:58 +03:00
Abdullah Alfaraj 45068f45b8 simplify hr scaler, remove hr width and hr height sliders 2023-03-26 16:13:17 +03:00
Abdullah Alfaraj 4c72dd18e0 unlock the output folder so we can delete the layers inside of it 2023-03-25 22:18:33 +03:00
Abdullah Alfaraj 13327faee3 delete the group folder if empty 2023-03-25 22:17:39 +03:00
Abdullah Alfaraj 5ddc60858c search lexica for prompt and images 2023-03-24 18:34:49 +03:00
Abdullah Alfaraj e0aecb1dc1 methods to visualize both the mask and the mask after expansion 2023-03-23 15:12:37 +03:00
Abdullah Alfaraj 5d8a3e3382 fix bug: disable get inpainting conditional mask weight value on change 2023-03-23 04:41:29 +03:00
Abdullah Alfaraj 62fe41d2ce move btnImageSearch click event to image_search_tab 2023-03-19 04:49:40 +03:00
Abdullah Alfaraj 2a7817a29e move btnLoadHistory click event to history_tab.js 2023-03-15 06:35:18 +03:00
Abdullah Alfaraj 69e47e8cf2 refactor getHistoryMetadata 2023-03-15 06:14:04 +03:00
Abdullah Alfaraj ae156e0a9b update the progress bar using sudo timer when loading ControlNet models 2023-03-14 02:59:55 +03:00
Abdullah Alfaraj 97987f614d increment version to v1.2.2 2023-03-13 23:30:41 +03:00
Abdullah Alfaraj 769dba6677 use the right config_obj 2023-03-13 23:17:48 +03:00
Abdullah Alfaraj 0ae02a7808 comment old log 2023-03-13 23:17:25 +03:00
Abdullah Alfaraj 99b68d2030 fix bug: use the right config_obj 2023-03-13 16:50:56 +03:00
Abdullah Alfaraj c6fe3d2e0e refresh controlnet tab when refreshing the ui 2023-03-13 01:03:53 +03:00
Abdullah Alfaraj cc433cdb7e use background-image property for preview image instead of img.src 2023-03-12 16:54:58 +03:00
Abdullah Alfaraj 0b35d3dd23 remove dead commented code 2023-03-11 22:37:38 +03:00
Abdullah Alfaraj 1852068339 add preset sub menu to the settings tab 2023-03-11 18:10:02 +03:00
Abdullah Alfaraj deaecb7b41 Merge branch 'presets' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into refactor-controlnet-js 2023-03-10 22:56:39 +03:00
Abdullah Alfaraj 2166463f75 setters and getters for the ControlNet Unit interface 2023-03-10 22:56:15 +03:00
Abdullah Alfaraj 9dc217eb12 increment version to v1.2.1 2023-03-10 14:44:02 +03:00
Abdullah Alfaraj 54f38aae8a refactor code 2023-03-10 14:25:41 +03:00
Abdullah Alfaraj 07c06602a4 remove deprecated code autoFillInSettings 2023-03-09 11:07:20 +03:00
Abdullah Alfaraj eb60e649ea update the controlnet preprocessor list from config 2023-03-07 23:26:24 +03:00
Abdullah Alfaraj 75e191549a Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into silent_mode_resolve 2023-03-07 18:44:55 +03:00
Abdullah Alfaraj cdd820269e enable progress bar and the interrupt button for ControlNet mode 2023-03-07 18:24:08 +03:00
Daniele 53c306bac9 Multi ControlNet Support 2023-03-06 20:55:43 +00:00
Daniele 927afebd6f Merge branch 'master' of https://github.com/adunato/Auto-Photoshop-StableDiffusion-Plugin 2023-03-06 14:12:54 +00:00
Abdullah Alfaraj f522cbb61e make the silent mode optional 2023-03-06 15:03:28 +03:00
Abdullah Alfaraj 519e36a648 increment version to v1.2.0 2023-03-05 10:58:12 +03:00
Abdullah Alfaraj 8fd78a91b1 convert the batch size from string to integer 2023-03-02 06:11:48 +03:00
Daniele ea9c09a60e refactoring tagging of index,js 2023-03-01 14:27:56 +00:00
Abdullah Alfaraj 0f626db963 selecting the prompt text area should interfere with the active layers or the selection area 2023-03-01 12:39:22 +03:00
Abdullah Alfaraj 43ebd1abba remove duplicate code 2023-03-01 04:48:10 +03:00
Abdullah Alfaraj dec89befac use a sudo timer for controlnet mode count from 0 to 100 2023-02-28 08:35:00 +03:00
Abdullah Alfaraj d8d3f9fc73 reverse the order of the history images 2023-02-28 05:03:06 +03:00
Abdullah Alfaraj 3dd3b2f8db disable the generate button for 5 seconds after clicking 2023-02-28 05:02:16 +03:00
Abdullah Alfaraj 4717516327 don't show generate more button unless the session is active 2023-02-28 01:17:07 +03:00
Abdullah Alfaraj c90ee87bd2 an option to load the original prompt 2023-02-27 10:23:20 +03:00
Abdullah Alfaraj 6d775578a1 always store the original prompt 2023-02-27 09:41:42 +03:00
Abdullah Alfaraj b0358c8240 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net_3 2023-02-27 06:57:21 +03:00
Abdullah Alfaraj a23d042a4f comment old code 2023-02-27 06:55:32 +03:00
Abdullah Alfaraj c75ee5b5c5 fix duplicate background layer issue 2023-02-27 05:15:23 +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 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 1194807d39 only send control_net settings if control_net is enabled 2023-02-26 02:18:37 +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 3c643b379f cover the background layer edge cases 2023-02-25 04:19:18 +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 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 62f251f958 refactor global variable 2023-02-23 19:20:57 +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 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 ebbe23ee98 catching error in the buttons unfocus method 2023-02-22 22:57:46 +03:00
Abdullah Alfaraj 6d8b013ace Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into master 2023-02-22 19:58:15 +03:00
Abdullah Alfaraj db9ea11789 replace mouse leave event with mouse click 2023-02-22 19:57:25 +03:00
Abdullah Alfaraj 19011b7b13 add prompt library sub tab 2023-02-22 18:53:38 +03:00
Abdullah Alfaraj cba77e73e1 bug fix: clicking set init image of a thumbnail will select the correct layers 2023-02-22 16:35:47 +03:00
Daniele edcbe5d4ed give the user a visual cue when they click a button/ different from on hover 2023-02-22 13:10:38 +00:00
Abdullah Alfaraj 52975d3fbd use the thumbnail class for the viewer init image 2023-02-22 04:16:26 +03:00
Abdullah Alfaraj 3a1abd47f2 update the viewer tab when adding a new init image 2023-02-22 03:41:33 +03:00
Abdullah Alfaraj c75689ca28 load the history image at the location it was generated at 2023-02-22 00:57:18 +03:00
Abdullah Alfaraj bcbd42eda8 add controlNet request for img2img modes 2023-02-21 23:23:34 +03:00
Abdullah Alfaraj 656664d393 convert the output of ControlNet api to a standard response the plugin can work with 2023-02-21 21:33:12 +03:00
Abdullah Alfaraj 047fc5c032 map plugin settings to the control net settings 2023-02-21 17:06:19 +03:00
Abdullah Alfaraj 0e14caeb4d functional set control image button 2023-02-21 03:29:35 +03:00
Abdullah Alfaraj 60a669de84 notification for an inactive selection area 2023-02-21 01:53:51 +03:00
Abdullah Alfaraj 718c5d02df Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into notification 2023-02-20 23:51:31 +03:00
Abdullah Alfaraj d09558d37a check if the background layer exist before every generation 2023-02-20 23:50:55 +03:00
Abdullah Alfaraj 4996b72a59 display the res difference with width and height label 2023-02-20 20:29:56 +03:00
Abdullah Alfaraj 12562abf9f create a sub tab menu that link viewer, history, and image search tabs 2023-02-20 14:52:28 +03:00
Abdullah Alfaraj a8823cfe27 formatting 2023-02-20 11:10:12 +03:00
Abdullah Alfaraj 07a1bbf45d
Merge pull request #106 from AbdullahAlfaraj/heal-brush
Heal-brush
2023-02-19 13:34:50 +03:00
Abdullah Alfaraj 7b2d168c0a reset the viewer manager on session end 2023-02-19 13:33:37 +03:00
Abdullah Alfaraj 597de25e7f comment debugger 2023-02-19 10:22:23 +03:00
Abdullah Alfaraj ed03260e66 use the thumbnail slider to scale the thumbnails in the viewer tab 2023-02-19 09:47:46 +03:00
Abdullah Alfaraj 593477538b make the opacity of mask temp layer as 60, while internally use value of 100 opacity 2023-02-19 09:28:40 +03:00
Abdullah Alfaraj 980d85c067 replace the img in viewer manager with a thumbnail container 2023-02-19 09:06:24 +03:00
Abdullah Alfaraj 7346e87c48 move timer function to general 2023-02-19 08:43:41 +03:00
Daniele fb7d85a621 Thumbnail class and history image buttons 2023-02-18 21:59:09 +00:00
Abdullah Alfaraj 8d0c25ca51 allow for loading async preset loaders 2023-02-18 09:49:01 +03:00
Abdullah Alfaraj 5c3073b99d increment to version 1.1.10 2023-02-17 10:25:47 +03:00
Abdullah Alfaraj bdee357acc display the progress image in the viewer tab if batch_size > 1 2023-02-17 10:15:27 +03:00
Abdullah Alfaraj 6cd05bc5f7 add dummy.js module 2023-02-17 10:11:22 +03:00
Abdullah Alfaraj f2b8d1e6be refactor the viewer thumbnail click handler 2023-02-16 14:17:42 +03:00
Abdullah Alfaraj 584075da7a turn off the visibility for newly imported generated images 2023-02-16 14:11:28 +03:00