Commit Graph

703 Commits

Author SHA1 Message Date
hlky
54e7f8f235
default img2img denoising strength increased 2022-09-18 14:06:39 +01:00
Dekker3D
56b91b8bdc
Streamlit txt2img page settings now follow defaults (#1195)
* Some options on the Streamlit txt2img page now follow the defaults from the relevant config files.

* Fixed a copy-paste gone wrong in my previous commit.

* st.session_state["defaults"] fix

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-09-18 10:39:30 +01:00
protoplm
e4d82f4e84
Used loaded_model state variable in .yaml generation (#1196)
Used loaded_model state variable in .yaml generation
2022-09-18 10:34:37 +01:00
hlky
4680975ae1
st.session_state["defaults"] fix 2022-09-18 09:57:33 +01:00
hlky
745e1cc2e1
Temporarily hide sd_concept_library due to missing layout() 2022-09-18 04:21:35 +01:00
ZeroCool
1f534cd5ac
Merge pull request #1199 from ZeroCool940711/dev
Basic implementation for the Concept Library tab made by cloning the Home tab.
2022-09-17 19:10:23 -07:00
ZeroCool940711
997eb12733 Basic implementation for the Concept Library tab made by cloning the Home tab. 2022-09-17 19:02:40 -07:00
ZeroCool
5111541bcd
Merge pull request #1198 from ZeroCool940711/dev
Added option to enable enable_attention_slicing and enable_minimal_memory_usage, this for now only works on txt2vid which uses diffusers.
2022-09-17 16:59:21 -07:00
ZeroCool
5ba6b63af4
Merge branch 'sd-webui:dev' into dev 2022-09-17 16:52:02 -07:00
ZeroCool940711
cd4396d1da Added option to enable enable_attention_slicing and enable_minimal_memory_usage, this for now only works on txt2vid which uses diffusers. 2022-09-17 16:49:42 -07:00
ZeroCool
8e80f827d9
Merge pull request #1197 from ZeroCool940711/dev
Added a config option to use embeddings from the huggingface stable diffusion concept library.
2022-09-17 15:38:00 -07:00
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