Commit Graph

809 Commits

Author SHA1 Message Date
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
bryanlyon
b5462536f8
Fixed decimal prompt weights without leading digit (#1182)
The regex was not accounting properly for prompt weights that didn't begin with a leading number such as .5 or .1 and was instead splitting those off into their own prompt which got everything all screwed up.

For example, the prompt string of "Fruit:1 grapes:-.5" should parse as
[('Fruit', 1.0), ('grapes', -.5)]
but was being incorrectly parsed as
[('Fruit', 1.0), ('grapes', 1.0), ('-.5', 1.0)]

This fixes that by making the regex properly catch decimals.
2022-09-16 20:42:41 +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
4ae7a5805c
Update .gitignore 2022-09-16 11:16:46 +01:00
hlky
2c1c9465d5
environment update from .cmd 2022-09-16 11:15:31 +01:00
hlky
64dbc0f39b
environment update from .cmd 2022-09-16 11:12:15 +01:00
Thomas Mello
1af2610c71
Update conda environment on startup always (#1171) (#1176)
* Update environment on startup always

* Message to explicitly state no environment.yaml update required

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>

Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-09-16 12:26:01 +03: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
hlky
4a8cc9ba6d
Update README.md 2022-09-16 08:18:29 +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