Commit Graph

306 Commits (eca7bfd9bcec8f7d8a4e36b992b6247dcf63c7c3)

Author SHA1 Message Date
Abdullah Alfaraj 576a385f03 getter and setters that use an element instead of id 2023-04-30 21:01:06 +03:00
unknown 1a85a925b2 in controlnet 1.1, a controlnet data with enable=False needed to be passed to api event though the controlnet is disabled. 2023-04-29 00:13:58 +08:00
Abdullah Alfaraj 672fb21abd add functionality for previewing annotator result 2023-04-27 19:15:03 +03:00
Abdullah Alfaraj d1e9d6a4f4 clear history result from ram 2023-04-27 18:43:17 +03:00
Abdullah Alfaraj 2fbda16f2b toggle "image cfg scale slider" visibility 2023-04-27 05:16:08 +03:00
Abdullah Alfaraj 9c18a78389 preview annotator result 2023-04-25 18:23:31 +03:00
Abdullah Alfaraj 195bde2aea add thumbnail functionality to lexica page 2023-04-25 18:22:35 +03:00
Abdullah Alfaraj 8314f8da57 add a progress image preview option next to each progress bar 2023-04-15 16:31:08 +03:00
Abdullah Alfaraj 62e3b48bdf WIP: add a ctrl+backspace delete behavior to sp-textarea 2023-04-14 02:13:32 +03:00
Abdullah Alfaraj 5756020444 change the preprocessor default values sent to the api depend on the selected preprocessor type 2023-04-14 02:07:58 +03:00
Abdullah Alfaraj 85766d3a63 the refresh button will refresh the sd tab 2023-04-14 02:05:16 +03:00
Abdullah Alfaraj fa40e7ae9c add support to image cfg scale for pix2pix model 2023-04-10 05:17:23 +03:00
Abdullah Alfaraj 491c368175 add utility method to add event listener to a slider 2023-04-10 05:15:22 +03:00
Abdullah Alfaraj 860923844b add a simple mechanism to log to file 2023-04-08 16:53:58 +03:00
Abdullah Alfaraj 21ac843e13 add lora models menu and populated from auto1111 lora dir 2023-04-08 01:39:42 +03:00
Abdullah Alfaraj d2093bdf1d request list of lora models names and convert them to prompts 2023-04-07 23:37:44 +03:00
Abdullah Alfaraj 2529c7e76c Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into lexica_api 2023-04-07 17:15:03 +03:00
Abdullah Alfaraj 6c48fb01d6 reduce the padding the progress image add to the viewer tab 2023-04-07 15:44:41 +03:00
Abdullah Alfaraj f59e9ee544 update the controlnet entry point to txt2img and img2img 2023-03-30 02:01:19 +03:00
Abdullah Alfaraj 723980e086 copy lexica settings to the ui 2023-03-26 17:04:31 +03:00
Abdullah Alfaraj 48964afc2f hide the lexica prompt textarea when scrolling 2023-03-26 17:03:20 +03:00
Abdullah Alfaraj 2648ad4047 load image from search on top of the layer stack 2023-03-26 16:59:09 +03:00
Abdullah Alfaraj ba7f829012 update progress bar when interrogating an image 2023-03-26 16:15:49 +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 85b2de55ac add open document folder feature 2023-03-25 22:20:27 +03:00
Abdullah Alfaraj e94cdc6c73 clip interrogate feature 2023-03-25 10:55:11 +03:00
Abdullah Alfaraj 3ba20036e3 place the downloaded image on top of the layer stack 2023-03-25 09:06:09 +03:00
Abdullah Alfaraj 455ac21912 lock the session folder so that it can't be moved by mistake 2023-03-25 09:02:26 +03:00
Abdullah Alfaraj 930e4bddd1 search lexica for similar images 2023-03-24 18:36:40 +03:00
Abdullah Alfaraj db5051a12f upload image to freeimage host and return image url 2023-03-24 18:36:09 +03:00
Abdullah Alfaraj 5ddc60858c search lexica for prompt and images 2023-03-24 18:34:49 +03:00
Abdullah Alfaraj 6e663142c7 add general Post request methods 2023-03-24 18:29:39 +03:00
Abdullah Alfaraj 3a97b59db7 simplify selection to canvas interface method 2023-03-24 15:47:00 +03:00
Abdullah Alfaraj 36ccbd84a8 preview the expanded mask on ui change 2023-03-24 06:13:06 +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 a2d95de887 import localFileSystem 2023-03-19 05:00:14 +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 c576bbbcbc update message for version v1.2.2 2023-03-14 20:55:00 +03:00
Abdullah Alfaraj 9fc9a08773 add optimization option for different pc specs. 2023-03-14 03:08:00 +03:00
Abdullah Alfaraj 829f599e08 fix missing executeAsModal function error 2023-03-14 03:06:26 +03:00
Abdullah Alfaraj f176c2888a update label for progress bart to be more descriptive 2023-03-14 03:01:24 +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 87ca494e5e add and remove preset to right preset menu based on selected preset type 2023-03-13 23:27:49 +03:00
Abdullah Alfaraj 0ae02a7808 comment old log 2023-03-13 23:17:25 +03:00
Abdullah Alfaraj 9dfddc61a9 make new preset base on preset type 2023-03-13 01:03:13 +03:00
Abdullah Alfaraj b827df0088 add logo creation and backgrounds presets to cnet 2023-03-13 00:12:58 +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 ff0aaace62 add a default preset 2023-03-12 16:38:44 +03:00
Abdullah Alfaraj a1a2118bb2 add convenient button to set all controlnet images at once 2023-03-11 22:46:29 +03:00
Abdullah Alfaraj 3a0a4b5be3 reset ControlNet Units settings before applying a preset 2023-03-11 22:45:15 +03:00
Abdullah Alfaraj 13d798af3d add ControlNet preset "Maintain Composition (Character)" 2023-03-11 22:43:33 +03:00
Abdullah Alfaraj c7b6aa2242 unselect menu if item does not exist 2023-03-11 22:42:57 +03:00
Abdullah Alfaraj 72dd3d92d5 refactor the layer to base64 code from setControlNetImage 2023-03-11 22:40:09 +03:00
Abdullah Alfaraj 1852068339 add preset sub menu to the settings tab 2023-03-11 18:10:02 +03:00
Abdullah Alfaraj ecb70d997e add controlnet hand fix preset 2023-03-11 18:08:45 +03:00
Abdullah Alfaraj 2f24ab260b add controlnet Maintain Position preset 2023-03-11 13:48:49 +03:00
Abdullah Alfaraj 01075e522a fix bug: missing function 2023-03-11 13:46:14 +03:00
Abdullah Alfaraj d33ecf0393 get and set multiple controlnet units 2023-03-11 01:04:37 +03:00
Abdullah Alfaraj 626fec0ddb getter and setter for a whole controlnet Unit 2023-03-11 01:04:04 +03:00
Abdullah Alfaraj 4b0893c87a setters for controlnet's model and module menus 2023-03-11 01:03:21 +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 5e24c615b3 disable debugger breakpoint 2023-03-10 15:27:45 +03:00
Abdullah Alfaraj c3ff65e664 fix bug: update the correct label 2023-03-10 15:27:06 +03:00
Abdullah Alfaraj c3019aeb80 add functionality to custom preset interface 2023-03-10 14:31:00 +03:00
Abdullah Alfaraj 54f38aae8a refactor code 2023-03-10 14:25:41 +03:00
Abdullah Alfaraj 6e6163c0bc add html menu selection utility func() 2023-03-10 14:22:22 +03:00
Abdullah Alfaraj 399225a12b get all json entries in a folder 2023-03-10 14:21:30 +03:00
Abdullah Alfaraj caa9af037a save custom preset to json file 2023-03-09 15:38:12 +03:00
Abdullah Alfaraj aa828f011e make a new preset 2023-03-09 14:29:30 +03:00
Abdullah Alfaraj 2d5d3227d6 count how many new lines in string 2023-03-09 14:25:23 +03:00
Daniele 78bc7dcdab Added support for non contiguous control net enabled (i.e only 1 and 3 are enabled) 2023-03-08 17:57:51 +00:00
Daniele b2adf2d1b7 Added support for control Net guidance strength start and end 2023-03-08 16:59:21 +00:00
Abdullah Alfaraj eb60e649ea update the controlnet preprocessor list from config 2023-03-07 23:26:24 +03:00
Abdullah Alfaraj 5c47e968f2 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into fix_empty_ui 2023-03-07 22:14:54 +03:00
Abdullah Alfaraj 4457b8a18c stylization 2023-03-07 20:43:08 +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
Daniele 53c306bac9 Multi ControlNet Support 2023-03-06 20:55:43 +00:00
Abdullah Alfaraj f522cbb61e make the silent mode optional 2023-03-06 15:03:28 +03:00
Abdullah Alfaraj 93bf3b9df8 comment unneeded logs 2023-03-06 12:24:40 +03:00
Abdullah Alfaraj 519e36a648 increment version to v1.2.0 2023-03-05 10:58:12 +03:00
Abdullah Alfaraj 43ebd1abba remove duplicate code 2023-03-01 04:48:10 +03:00
Abdullah Alfaraj 199ec1bdaa store control net mask 2023-03-01 01:43:29 +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 6a7b4726a7 improve readability of error message 2023-02-28 05:03:40 +03:00
Abdullah Alfaraj 068623e2bf fix typo in seed name 2023-02-28 03:41:15 +03:00
Abdullah Alfaraj a4d30b4752 display error message from native horde 2023-02-28 03:40:56 +03:00
Abdullah Alfaraj c90ee87bd2 an option to load the original prompt 2023-02-27 10:23:20 +03:00
Abdullah Alfaraj 8971e9019f hookup the nsfw option for horde native 2023-02-27 06:18:03 +03:00
Abdullah Alfaraj 3119f7c89c round the width and height to the nearest multiple of 64 for the horde native api 2023-02-27 06:11:42 +03:00
Abdullah Alfaraj d249f96e5e nearest multiple method 2023-02-27 05:59:56 +03:00
Abdullah Alfaraj 4ac821f804 update the update error message 2023-02-27 05:54:41 +03:00
Abdullah Alfaraj d90358b851 Merge branch 'master' of https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin into control_net_3 2023-02-27 05:40:23 +03:00
Abdullah Alfaraj f1e28789cb method to toggle the background layer 2023-02-27 05:00:21 +03:00
Abdullah Alfaraj aacf1915c0 check for update methods 2023-02-27 04:42:30 +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 3d79954f0e setup the controlnet tab interface 2023-02-27 04:26:21 +03:00