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
4416c78005
add new layer utility
2023-01-11 05:00:24 +03:00
Abdullah Alfaraj
5f57ce8aba
remove dead code/comment
2023-01-11 04:59:28 +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
1ba0215ecd
increase the panel size
2023-01-10 21:55:09 +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
eb053dc4f8
delete dead code/comments
2023-01-10 01:07:23 +03:00
Abdullah Alfaraj
234b120743
add easy mode for img2img
2023-01-10 00:40:48 +03:00
Abdullah Alfaraj
1766842469
remove dead comment's/ code
2023-01-09 23:12:39 +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
7a78c29a79
add an active state for ViewerImage
2023-01-09 07:19:59 +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
29ad18d7ab
add an indication for selecting multiple images
2023-01-09 00:33:56 +03:00
Abdullah Alfaraj
2dbab0354f
indicate the active image with orange border
2023-01-09 00:32:02 +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
d3973828ef
[bug fix] mask blur min value should be 0
2023-01-08 08:19:44 +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
eae7bbf49f
add accept, discard, generate more buttons
2023-01-07 22:59:04 +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
e3841f88e0
increment version to v1.0.22
...
refactor the image viewer related functionality into classes so we could easily extend the behavior of the viewer tab
2023-01-07 15:53:47 +03:00
Abdullah Alfaraj
8210ec3f82
Merge pull request #47 from AbdullahAlfaraj/refactor-viewer
...
Refactor viewer
2023-01-07 15:52:19 +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
2f7cefaed2
note
2023-01-06 20:10:23 +03:00
Abdullah Alfaraj
1bfa4f28b1
stylize the progress bar
2023-01-06 18:50:39 +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
Abdullah Alfaraj
c873b24f8d
Increment version to v1.0.21
...
add the init image and mask to the viewer menu
this will allow for a better experience working with and iterating over the masks and init images
2023-01-06 16:14:35 +03:00
Abdullah Alfaraj
eb1fc751c4
Merge pull request #46 from AbdullahAlfaraj/add-init-image-to-viewer
...
Add-init-image-to-viewer:
add the init image and mask to the viewer menu
this will allow for a better experience working and editing masks and init images
2023-01-06 16:11:30 +03:00
Abdullah Alfaraj
11f60532e0
change mask blur default value to 7
2023-01-06 16:09:31 +03:00
Abdullah Alfaraj
92791af10b
delete init image and mask from the viewer when cleaning and then reload the viewer
2023-01-06 00:38:03 +03:00
Abdullah Alfaraj
8fe62c6aa9
add snapAndFill layers to the viewer
2023-01-06 00:36:51 +03:00
Abdullah Alfaraj
322251e1ae
use cleanLayer instead of cleanSnapAndFill
2023-01-06 00:35:10 +03:00