Commit Graph

108 Commits (87e9eaec196d6d1871a6724a1b6d36ec8dbaee09)

Author SHA1 Message Date
Abdullah Alfaraj 87e9eaec19 Merge branch 'pr/Kyxsune/53' into merge_hi_res_new 2023-01-15 04:54:32 +03:00
kyxsune fbfcecec5e Changed Behaviour to sync with other aspects 2023-01-14 12:48:43 -05:00
kyxsune cca62a4176 Added all the info 2023-01-14 02:02:54 -05:00
Abdullah Alfaraj 0baf047176 only show hi res fix checkbox in txt2img mode 2023-01-14 07:50:29 +03:00
Abdullah Alfaraj 60754b0971 only show mask blur slider in inpaint or outpaint mode 2023-01-14 07:19:46 +03:00
Abdullah Alfaraj cfebfa4697 only show inpaint padding slider when inpaint full res is checked and in inpainting or outpainting mode 2023-01-14 07:08:13 +03:00
Abdullah Alfaraj 2924b6045a hi res sliders will only show in the txt2img mode 2023-01-14 06:49:54 +03:00
Abdullah Alfaraj 7f1c123639 hide hi res sliders when hi res fix is unchecked 2023-01-14 06:24:29 +03:00
Abdullah Alfaraj 6f45435017 place the width and height sliders on the same level 2023-01-14 04:09:02 +03:00
Abdullah Alfaraj 7e7802e79c choose type of layers: smart or rasterize 2023-01-14 03:44:08 +03:00
Abdullah Alfaraj 6cb0e7d9fc add support to blurry mask and a sharp mask 2023-01-13 22:36:15 +03:00
Abdullah Alfaraj beb4070661 store the active selection when working inside the prompt textarea, so it doesn't interfere with navigation 2023-01-13 11:30:09 +03:00
Abdullah Alfaraj 9fb7c14454 adding a reset button 2023-01-13 08:58:17 +03:00
Abdullah Alfaraj 1e67d45ccb fill the width and height sliders when selection area is moved 2023-01-13 05:52:10 +03:00
Abdullah Alfaraj e4dbcd0fbf check if the selection area has moved 2023-01-13 05:11:03 +03:00
Abdullah Alfaraj 10389f33ac visualize the auto1111 and proxy server status 2023-01-12 22:08:14 +03:00
Abdullah Alfaraj 11f0bc8f30 reselect the selection area after each generation 2023-01-12 09:42:12 +03:00
Abdullah Alfaraj 349bfe114a use width and height from rectangular selection area 2023-01-12 08:40:08 +03:00
Abdullah Alfaraj 8a5d9ee0e5 make layerToSelection work with multiple of layers 2023-01-12 05:30:26 +03:00
Abdullah Alfaraj 751e22de0a [bug fix]: async layer deletion 2023-01-12 01:29:31 +03:00
Abdullah Alfaraj 6c6ac31dd7 color code the generate buttons 2023-01-11 08:53:27 +03:00
Abdullah Alfaraj 3e9e2e0544 remove addNotificationListener 2023-01-11 07:21:11 +03:00
Abdullah Alfaraj 33ee4dfd02 reset html init image and mask after deletion 2023-01-11 05:56:02 +03:00
Abdullah Alfaraj 53a43dfd7e create new inpaint mask layers on the start of new session 2023-01-11 05:17:12 +03:00
Abdullah Alfaraj 50723ec76d selecting inpaint will create new layer for you to paint mask on 2023-01-11 05:01:20 +03:00
Abdullah Alfaraj 2c4e832c16 get final image width and height from the selection area 2023-01-11 00:39:39 +03:00
Abdullah Alfaraj 7cb49b75ec wait for acceptAll to finish 2023-01-10 09:43:47 +03:00
Abdullah Alfaraj 56b1c44dc2 commented code: add support showing tips when mouse hover on top of element 2023-01-10 08:07:44 +03:00
Abdullah Alfaraj ab275668bc error handling during inpainting 2023-01-10 05:16:10 +03:00
Abdullah Alfaraj 58871b3253 prompt for selection before any type of generation 2023-01-10 02:03:40 +03:00
Abdullah Alfaraj 0837083f17 remove init inpaint mask button 2023-01-10 01:39:39 +03:00
Abdullah Alfaraj 234b120743 add easy mode for img2img 2023-01-10 00:40:48 +03:00
Abdullah Alfaraj a5acf8773f start new session if the user generate in different mode 2023-01-09 23:10:21 +03:00
Abdullah Alfaraj 8334809819 return empty json when data are invalid 2023-01-09 20:45:29 +03:00
Abdullah Alfaraj 60ed3177fe remove dead code/comments 2023-01-09 20:24:53 +03:00
Abdullah Alfaraj 012ea991b6 interrupt will discard all images and end session on first attempt 2023-01-09 20:19:15 +03:00
Abdullah Alfaraj 1cc870f5f5 unlink html before changing visibility of layer 2023-01-09 19:29:31 +03:00
Abdullah Alfaraj 1b2e1ae553 the state of Viewer Image will determine whether a layer get unlinked or deleted 2023-01-09 08:42:33 +03:00
Abdullah Alfaraj 5e2b089349 accept all the generate layers from the current session 2023-01-09 07:21:35 +03:00
Abdullah Alfaraj d592991d21 remove init outpaint mask button 2023-01-09 00:41:47 +03:00
Abdullah Alfaraj 10cbb581a5 only create InitImage and InitMaskImage if their associate layers exist 2023-01-09 00:37:12 +03:00
Abdullah Alfaraj ee895db154 you can select the images you want to keep in the viewer tab and discard the rest 2023-01-08 19:09:40 +03:00
Abdullah Alfaraj f49070f5f2 generate can act like generate() or generateMore() 2023-01-08 03:18:45 +03:00
Abdullah Alfaraj 5cbdb1fffe add html toggle for classes and for session related buttons 2023-01-07 23:00:56 +03:00
Abdullah Alfaraj d4a2c69704 add easyMode to txt2img and outpaint 2023-01-07 18:20:31 +03:00
Abdullah Alfaraj d96cd73906 add outpaint radio button mode selector 2023-01-07 16:36:44 +03:00
Abdullah Alfaraj 929b83ef8e refactor init images, and masks 2023-01-07 03:39:13 +03:00
Abdullah Alfaraj 2bc96295a6 create a ViewerImage class 2023-01-06 23:05:49 +03:00
Abdullah Alfaraj e7cd69303f add a batch number field in the viewer container 2023-01-06 17:20:32 +03:00
Abdullah Alfaraj 8c097405a1 add progress bar to the viewer tab 2023-01-06 16:50:26 +03:00