Commit Graph

994 Commits (e74f4e9daa461534ede0e9ff0ec931e50eb752fd)

Author SHA1 Message Date
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
Abdullah Alfaraj 6775c899f8 add mask expansion,aka, dilation 2023-01-06 00:32:16 +03:00
Abdullah Alfaraj c84c9d0200 add init image and mask for inpainting and outpainting to the viewer tab 2023-01-05 21:54:32 +03:00
Abdullah Alfaraj d283730db8 link the mask related layers to viewer 2023-01-05 19:50:45 +03:00
Abdullah Alfaraj 32a02afeba add visibility func that control how to turn the layer on and off 2023-01-05 17:17:00 +03:00
Abdullah Alfaraj 3e0a4ebb0f [fix] missing await 2023-01-05 15:16:55 +03:00
Abdullah Alfaraj 97f44b090e refactor code to viewerImageClickHandler 2023-01-05 15:12:27 +03:00
Abdullah Alfaraj 3aa2696bed
Increment version to v1.0.20
added a generate more button and delete hidden button to the viewer tab.
separate the implementation of getting the setting from generate()
2023-01-05 14:34:00 +03:00
Abdullah Alfaraj 355758e4d7
Merge pull request #45 from AbdullahAlfaraj/refactor-generate
add a "generate more" button to the viewer tab. 
delete hidden button to discard of the unwanted images.
2023-01-05 14:26:31 +03:00
Abdullah Alfaraj 60f2ae803d catching warning when requesting model list 2023-01-05 14:13:16 +03:00
Abdullah Alfaraj 8aff447bb0 add Image viewer tab with generate more button 2023-01-05 03:20:32 +03:00
Abdullah Alfaraj 0437de5ed1 separate getting the data from the ui from the generate request 2023-01-04 21:23:35 +03:00
Abdullah Alfaraj e91157036f log typo 2023-01-04 20:58:00 +03:00
Abdullah Alfaraj 3e68817e9b add get mode function 2023-01-04 20:02:18 +03:00
Abdullah Alfaraj d594a296b0
increment version to v1.0.19
add a new Viewer tab that allows us to toggle between the last generated images, while keeping the rest of the canvas untouched.
2023-01-04 15:23:00 +03:00
Abdullah Alfaraj f962049706
Merge pull request #44 from AbdullahAlfaraj/viewer-tab
add Viewer tab to toggle between generated images
2023-01-04 15:21:05 +03:00
Abdullah Alfaraj 32015ae0ec [Feature]: toggle between last generated images 2023-01-04 15:17:35 +03:00
Abdullah Alfaraj 65d137d32e load last generated images in the new viewer tab 2023-01-04 13:04:58 +03:00