* fixed tools for image editor to be more modular and made cursor an actual cursor change
* fixed eraser cursor positioning
* updated opacity to not have a 100 option
* separated clear into an actions section
* added history support for image editor. ctrl-z and ctrl-y both work now
* removed extra console log debugging stuff
* updated buttons style
* updated the button ui on the main page as requested
* updated with a bunch of bugfixes
* safetensors support
Add support for checkpoints in safetensors format: https://github.com/huggingface/safetensors
This format shall be safer than pickle files
* pip install safetensors
* Fix upscaling when a source image is set
If you have an image selected (img2img) then clicking Upscale on another unrelated image, the image for img2img is used and you get something very unexpected.
* Fix for img2img and mask gens
With a pen, typing on a browser page, waiting a short moment, and then moving the pen scrolls the page.
Call event.preventDefault() to disable this default behaviour for events in the canvas area.
* started implementing hamunii's image editor, and added a hamunii theme
* fixed so active tab is main tab
* added some testing stuff for image ediotr
* re-implemented canvas drawing myself. just need to add layer stuff now
* moved everything to an image editor class and implement it so it actually works nicely now
* fixed a couple weird bugs and cleaned up the background image and sharpness stuff
* cleaned up a lot of stuff about the editor, added tools, buttons, made it mostly work in the current ui
* added inpainting support
* updated with more nice changes/updates to the inpainting and drawing editor
* made some more fixes and touchups to the image editor
* removed a bunch of semicolons
* remove old image inpainting system
* updated to work properly on mobile
* made a minor bugfix
* fixed img_size_box alignment
* Update index.html
Co-authored-by: cmdr2 <secondary.cmdr2@gmail.com>
Co-authored-by: cmdr2 <shashank.shekhar.global@gmail.com>
* Toggle image modifiers plugin
Right-click on image modifiers to temporarily turn them off without removing them. To quickly iterate and experiment with various combinations.
Please note this plugin required a minor tweak in getPrompts() to add support for image modifier inactive state.
* Fix tag matching
Co-authored-by: cmdr2 <secondary.cmdr2@gmail.com>
As per Discord conversation, this PR fixed the image modifiers behavior when a modifier appears more than once, and also fixes a regression introduced by ((weighted modifiers)).