Commit Graph

467 Commits

Author SHA1 Message Date
psychedelicious
5e81f51f6a
Web UI 2.2 bugfixes (#1572)
* Fixes bug preventing multiple images from being generated

* Fixes valid seam strength value range

* Update Delete Alert Text

Indicates to the user that images are not permanently deleted.

* Fixes left/right arrows not working on gallery

* Fixes initial image on load erroneously set to a user uploaded image

Should be a result gallery image.

* Lightbox Fixes

- Lightbox is now a button in the current image buttons
- Lightbox is also now available in the gallery context menu
- Lightbox zoom issues fixed
- Lightbox has a fade in animation.

* Fix image display wrapper in current preview not overflow bounds

* Revert "Fix image display wrapper in current preview not overflow bounds"

This reverts commit 5511c82714dbf1d1999d64e8bc357bafa34ddf37.

* Change Staging Area discard icon from Bin to X

* Expose Snap Threshold and Move Snap Settings to BBox Panel

* Changes img2img strength default to 0.75

* Fixes drawing triggering when mouse enters canvas w/ button down

When we only supported inpainting and no zoom, this was useful. It allowed the cursor to leave the canvas (which was easy to do given the limited canvas dimensions) and without losing the "I am drawing" state. 

With a zoomable canvas this is no longer as useful.

Additionally, we have more popovers and tools (like the color pickers) which result in unexpected brush strokes. This fixes that issue.

* Revert "Expose Snap Threshold and Move Snap Settings to BBox Panel"

We will handle this a bit differently - by allowing the grid origin to be moved. I will dig in at some point.

This reverts commit 33c92ecf4da724c2f17d9d91c7ea31a43a2f6deb.

* Adds Limit Strokes to Box

* Adds fill bounding box button

* Adds erase bounding box button

* Changes Staging area discard icon to match others

* Fixes right click breaking move tool

* Fixes brush preview visibility issue with "darken outside box"

* Fixes history bugs with addFillRect, addEraseRect, and other actions

* Adds missing `key`

* Fixes postprocessing being applied to canvas generations

* Fixes bbox not getting scaled in various situations

* Fixes staging area show image toggle not resetting on accept/discard

* Locks down canvas while generating/staging

* Fixes move tool breaking when canvas loses focus during move/transform

* Hides cursor when restrict strokes is on and mouse outside bbox

* Lints

* Builds fresh bundle

* Fix overlapping hotkey for Fill Bounding Box

* Build Fresh Bundle

* Fixes bug with mask and bbox overlay

* Builds fresh bundle

Co-authored-by: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com>
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-11-30 12:08:06 -05:00
victorca25
2443e5dc01
add k_dpmpp_2_a and k_dpmpp_2 solvers options (#1389)
* add k_dpmpp_2_a and k_dpmpp_2 solvers options

* update frontend

Co-authored-by: Victor <victorca25@users.noreply.github.com>
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-11-30 08:32:52 -05:00
Lincoln Stein
6bc11bfd3f
Test installer (#1618)
* test linux install

* try removing http from parsed requirements

* pip install confirmed working on linux

* ready for linux testing

- rebuilt py3.10-linux-x86_64-cuda-reqs.txt to include pypatchmatch
  dependency.
- point install.sh and install.bat to test-installer branch.

* Updates MPS reqs

* detect broken readline history files

* fix download.pytorch.org URL

* Test installer (Win 11) (#1620)

Co-authored-by: Cyrus Chan <cyruswkc@hku.hk>

* Test installer (MacOS 13.0.1 w/ torch==1.12.0) (#1621)

* Test installer (Win 11)

* Test installer (MacOS 13.0.1 w/ torch==1.12.0)

Co-authored-by: Cyrus Chan <cyruswkc@hku.hk>

* change sourceball to development for testing

* Test installer (MacOS 13.0.1 w/ torch==1.12.1 & torchvision==1.13.1) (#1622)

* Test installer (Win 11)

* Test installer (MacOS 13.0.1 w/ torch==1.12.0)

* Test installer (MacOS 13.0.1 w/ torch==1.12.1 & torchvision==1.13.1)

Co-authored-by: Cyrus Chan <cyruswkc@hku.hk>

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Co-authored-by: Cyrus Chan <82143712+cyruschan360@users.noreply.github.com>
Co-authored-by: Cyrus Chan <cyruswkc@hku.hk>
2022-11-29 15:05:43 -05:00
psychedelicious
9e0504abe5 Builds fresh bundle 2022-11-27 03:35:49 +13:00
psychedelicious
3131edb255 Fixes canvas dimensions not setting on first load 2022-11-27 03:35:49 +13:00
psychedelicious
1e9121c8d6 Builds fresh bundle 2022-11-27 03:35:49 +13:00
psychedelicious
916e795c26 Adds gallery drag and drop to img2img/canvas 2022-11-27 03:35:49 +13:00
psychedelicious
3aebe754fa Fixes unnecessary canvas scaling 2022-11-27 03:35:49 +13:00
psychedelicious
3f0cfaac4a Builds fresh bundle 2022-11-27 03:35:49 +13:00
psychedelicious
a3a0a87f55 Fixes canvas failing to scale on first run 2022-11-27 03:35:49 +13:00
psychedelicious
f5e8ffe7b4 Builds fresh bundle 2022-11-27 03:35:49 +13:00
psychedelicious
404d81f6fd Fixes shouldShowStagingImage not resetting to true on commit 2022-11-27 03:35:49 +13:00
psychedelicious
c7864f8a6d Fixes bug with clear mask and history 2022-11-27 03:35:49 +13:00
psychedelicious
9568ac66e0 Improves scaled bbox display logic 2022-11-27 03:35:49 +13:00
psychedelicious
d4280bbaaa Adds auto-scaling for inpaint size 2022-11-27 03:35:49 +13:00
psychedelicious
46a5fd67ed Adds inpaint size (as scale bounding box) to UI 2022-11-27 03:35:49 +13:00
psychedelicious
7f1b95fbda Removes force_outpaint param 2022-11-27 03:35:49 +13:00
psychedelicious
52c79fa097 Lints 2022-11-27 03:35:49 +13:00
psychedelicious
62ac725ba9 Adds brush color alpha hotkey 2022-11-27 03:35:49 +13:00
psychedelicious
db188cd3c3 Color picker does not overwrite user-selected alpha 2022-11-27 03:35:49 +13:00
psychedelicious
e67ef4aec2 Committing color picker color changes tool to brush 2022-11-27 03:35:49 +13:00
psychedelicious
473869b8ed Fixes mask brush preview color 2022-11-27 03:35:49 +13:00
psychedelicious
c8c1b3e217 Simplifies Accordion
Prep for adding reset buttons for each section
2022-11-27 03:35:49 +13:00
psychedelicious
fcd3ef1f98 Fixes invoke hotkey not working in input fields 2022-11-27 03:35:49 +13:00
psychedelicious
a7f11a8c09 Fixes variation params not set correctly when recalled 2022-11-27 03:35:49 +13:00
psychedelicious
318426b67a Changes color picker preview to circles 2022-11-27 03:35:49 +13:00
psychedelicious
6f3e99efc3 Un-floors cursor position 2022-11-27 03:35:49 +13:00
psychedelicious
7515bcfe78 Fixes iterations being disabled when seed random & variations are off 2022-11-27 03:35:49 +13:00
psychedelicious
8d0ef022eb Lints & builds fresh bundle 2022-11-27 03:35:49 +13:00
psychedelicious
9f1c1cf2e6 Adds color picker 2022-11-27 03:35:49 +13:00
psychedelicious
d44112c209 Builds fresh bundle 2022-11-27 03:35:49 +13:00
psychedelicious
b31f90c0bd Fixes postprocessing not being disabled when clicking use all 2022-11-27 03:35:49 +13:00
psychedelicious
344cdf0ade Renames "Threshold" > "Noise Threshold" 2022-11-27 03:35:49 +13:00
psychedelicious
500bde5b0e Fixes missing threshold and perlin parameters in metadata viewer 2022-11-27 03:35:49 +13:00
psychedelicious
419f670f86 Updates npm dependencies 2022-11-27 03:35:49 +13:00
psychedelicious
30dc9220c1 Fixes crash on cancel with intermediates enabled, fixes #1416 2022-11-27 03:35:49 +13:00
psychedelicious
941d427302 Adds single-column gallery layout 2022-11-27 03:35:49 +13:00
blessedcoolant
876ae7f70f Move full screen hotkey to floating to prevent tab rerenders 2022-11-27 03:35:49 +13:00
psychedelicious
a86049f822 Adds Training icon 2022-11-27 03:35:49 +13:00
blessedcoolant
ec3d25d778 Add Training WIP Tab 2022-11-27 03:35:49 +13:00
blessedcoolant
69a4a6fec5 Simplify fullscreen hotkey selector 2022-11-27 03:35:49 +13:00
blessedcoolant
7b76b79887 Floating panel re-render fix 2022-11-27 03:35:49 +13:00
blessedcoolant
3ea732365c Fix rerenders on model select 2022-11-27 03:35:49 +13:00
psychedelicious
dc5d696ed2 Builds fresh bundle 2022-11-27 03:35:49 +13:00
blessedcoolant
2fcc7d9b36 Isolate Cursor Pos debug text on canvas to prevent rerenders 2022-11-27 03:35:49 +13:00
blessedcoolant
78217f5ef9 Fix unnecessary gallery re-renders 2022-11-27 03:35:49 +13:00
blessedcoolant
c6112e3295 memoize outpainting options 2022-11-27 03:35:49 +13:00
blessedcoolant
8b08af714d Tab Styling Fixes 2022-11-27 03:35:49 +13:00
psychedelicious
723dcf4236 Adds infill method 2022-11-27 03:35:49 +13:00
blessedcoolant
ddfd82559f Styling Updates 2022-11-27 03:35:49 +13:00