Commit Graph

692 Commits

Author SHA1 Message Date
ZeroCool940711
c35e5804c2 Added a config option to use embeddings from the huggingface stable diffusion concept library. 2022-09-17 15:25:55 -07:00
ZeroCool
abb0c1c377
Merge pull request #1190 from cheald/fix-final-image-output
Better handling for final displays of images
2022-09-17 05:33:10 -07:00
Chris Heald
27c8134547 Display the final image before running postprocessing, and don't preview when i=0 2022-09-16 18:25:08 -07:00
Chris Heald
d53643822d Collect images for final display
This is a collection of several changes to enhance image display:

* When using GFPGAN or RealESRGAN, only the final output will be
  displayed.
* In batch>1 mode, each final image will be collected into an image grid
  for display
* The image is constrained to a reasonable size to ensure that batch
  grids of RealESRGAN'd images don't end up spitting out a massive image
  that the browser then has to handle.
* Additionally, the progress bar indicator is updated as each image is
  post-processed.
2022-09-16 17:39:46 -07:00
ZeroCool
47e39df7a1
Merge pull request #1188 from cheald/fix-preview-error
Fix errors on early termination
2022-09-16 16:37:16 -07:00
ZeroCool
419f3f9474
Merge branch 'dev' into fix-preview-error 2022-09-16 16:36:55 -07:00
Chris Heald
0cf3d1b0ef When early terminating, generation_callback gets invoked but st.session_state is empty. When this happens, just bail. 2022-09-16 16:29:10 -07:00
ZeroCool
ac99b657d2
Merge pull request #1187 from cheald/enable-batch-preview
When running a batch with preview turned on, produce a grid of previe…
2022-09-16 16:27:43 -07:00
Chris Heald
c1ab63c284 When running a batch with preview turned on, produce a grid of preview images 2022-09-16 16:12:52 -07:00
Chris Heald
d22cf56395
Don't attempt mask restoration when there is no mask given (#1186) 2022-09-16 23:56:09 +03:00
hlky
b856a91ec8
allow webp uploads to img2img tab #991 2022-09-16 20:55:58 +01:00
Thomas Mello
c465891b97
cherry-pick @Any-Winter-4079's https://github.com/lstein/stable-diffusion/pull/540. this is a collaboration incorporating a lot of people's contributions -- including for example @Doggettx and the original code from @neonsecret on which the Doggetx optimizations were based (see https://github.com/lstein/stable-diffusion/issues/431, https://github.com/sd-webui/stable-diffusion-webui/pull/771\#issuecomment-1239716055). Takes exactly the same amount of time to run 8 steps as original CompVis code does (10.4 secs, ~1.25s/it). (#1177)
Co-authored-by: Alex Birch <birch-san@users.noreply.github.com>
2022-09-16 20:43:11 +01:00
xaedes
4efe62b31a
add missing argument to GoBig sample function, fixes #1183 (#1184) 2022-09-16 20:40:30 +01:00
ZeroCool
97e7286013
Merge pull request #1185 from ZeroCool940711/dev
Bumped the version of diffusers used on the txt2vid tab to be now v0.3.0.
2022-09-16 11:51:57 -07:00
ZeroCool940711
ef2da42489 - Bumped the version of diffusers used on the txt2vid tab to be now v0.3.0.
- Added initial file for the textual inversion tab.
2022-09-16 11:50:22 -07:00
ZeroCool
5f3d7facde
Merge pull request #1181 from outlookhazy/feature_negative_prompts_streamlit
Enable negative prompts on streamlit
2022-09-16 10:41:37 -07:00
Charles Galant
d293073e67 Enable negative prompts on streamlit 2022-09-16 13:25:25 -04:00
ZeroCool
d85f143eb8
Merge pull request #1159 from cheald/gallery-fixes
Gallery fixes
2022-09-16 04:22:24 -07:00
ZeroCool
9a6b2173a5
Merge branch 'dev' into gallery-fixes 2022-09-16 04:21:58 -07:00
ZeroCool
2eaccb7b24
Merge pull request #1158 from cheald/fix-find-noise
Fix invalid invocation of find_noise_for_image
2022-09-16 04:15:31 -07:00
ZeroCool
e65b8d0b8a
Merge branch 'dev' into fix-find-noise 2022-09-16 04:15:11 -07:00
hlky
bffa0ff4c9
Update .gitignore 2022-09-16 11:17:51 +01:00
hlky
64dbc0f39b
environment update from .cmd 2022-09-16 11:12:15 +01:00
Brian Semrau
e2b0c0f7a9
Update conda environment on startup always (#1171)
* Update environment on startup always

* Message to explicitly state no environment.yaml update required

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-09-16 08:35:53 +01:00
ZeroCool
c4697eba50
Merge pull request #1169 from ZeroCool940711/dev
Fixed a leftover line from removing the home tab.
2022-09-15 17:19:46 -07:00
ZeroCool
08cb8ebff3
Merge branch 'sd-webui:dev' into dev 2022-09-15 17:19:05 -07:00
ZeroCool940711
0645c7cf64 - Increased the max value for the width and height sliders on the txt2img tab.
- Fixed a leftover line from removing the home tab.
2022-09-15 17:18:36 -07:00
ZeroCool
5851d8a4d0
Added discord server link to the Readme.md 2022-09-15 17:01:25 -07:00
ZeroCool
a92a59238f
Merge pull request #1163 from ZeroCool940711/dev
Fixed a missing import on the ModelManager script.
2022-09-15 14:28:42 -07:00
ZeroCool940711
c0d1bf8941 Merge remote-tracking branch 'origin/dev' into dev 2022-09-15 14:27:46 -07:00
ZeroCool940711
88ae534693 Fixed a missing import on the ModelManager script. 2022-09-15 14:27:13 -07:00
ZeroCool
0677216f13
Merge pull request #1162 from ZeroCool940711/dev
Removed the Home tab until the gallery is fixed.
2022-09-15 14:23:42 -07:00
ZeroCool940711
eb545c1229 Removed the Home tab until the gallery is fixed. 2022-09-15 14:23:09 -07:00
Chris Heald
51a973929c Fix invalid invocation of find_noise_for_image 2022-09-15 12:48:35 -07:00
Chris Heald
d2f339061b Fix the gallery back/next buttons and add a refresh button 2022-09-15 12:45:45 -07:00
Chris Heald
8a25dcc332 Fix errors rendering galleries when there are not enough images to render 2022-09-15 11:06:56 -07:00
JuanLagu
98adf69c7c
Calculate aspect ratio and pixel count on start (#1157) 2022-09-15 20:39:05 +03:00
Ascended
b4de6caf69
Added case insensitivity to restore prompt (#1152) 2022-09-15 18:19:07 +03:00
ZeroCool
b7d6329dc1
Merge pull request #1150 from ZeroCool940711/dev
Added the Home tab and gallery tab on txt2img made by @devilismyfriend
2022-09-15 06:31:38 -07:00
ZeroCool940711
482c1bdc21 Merge remote-tracking branch 'origin/dev' into dev 2022-09-15 06:30:06 -07:00
ZeroCool940711
4068d804ad - Added the Home tab made by @devilismyfriend
- Added gallery tab on txt2img.
2022-09-15 06:29:41 -07:00
ZeroCool
e2b372b9b5
Merge pull request #1147 from ZeroCool940711/dev
Added streamlit_nested_layout component as dependency and imported on the webui_streamli.py file to allow us to use nested columns and expanders.
2022-09-15 03:50:42 -07:00
ZeroCool940711
dac1534791 Merge remote-tracking branch 'origin/dev' into dev 2022-09-15 03:49:30 -07:00
ZeroCool940711
d93065bb95 Added streamlit_nested_layout component as dependency and imported on the webui_streamli.py file to allow us to use nested columns and expanders. 2022-09-15 03:48:55 -07:00
Ascended
9fd1f7d194
Prompt user if they want to restore changes (#1137)
- After stashing any changes and pulling updates, ask user if they wish to pop changes
- If user declines the restore, drop the stash to prevent the case of an ever growing stash pile
2022-09-15 11:34:01 +03:00
ZeroCool
f74d796431
Merge pull request #1139 from protoplm/dev
txt2img touch up + model switching
2022-09-15 01:07:58 -07:00
protoplm
6a19a73388 Fixed update_preview_frequency and update_preview using defaults from
webui_streamlit.yaml instead of state variables from UI.
2022-09-14 23:03:55 -04:00
protoplm
ca6fb326f3 Formatted tabs as spaces 2022-09-14 20:17:07 -04:00
protoplm
4f7adcaf42 Corrected breaking issues introduced in #1136 to txt2img and
made state variables consistent with img2img.

Fixed a bug where switching models after running would not reload
the used model.
2022-09-14 19:59:53 -04:00
ZeroCool
178e62292e
Merge pull request #1138 from ZeroCool940711/dev
Small fix to the custom model list.
2022-09-14 15:19:22 -07:00