ZeroCool940711
8cf8d3f03a
Added simple function to allows to change the title of the app dynamically instead of only doing it once per app, this could be useful for setting the title on specific pages and making it appear on the browser history.
2022-09-23 21:19:50 -07:00
xaedes
70acb61c21
remove wrong arguments from save_sample call ( #1290 )
...
fixes #1258
2022-09-24 01:29:12 +01:00
Qualzz
6ae84c6c3a
better library browser ( #1281 )
...
* better library browser
* removed debug prints
2022-09-24 00:20:51 +01:00
hlky
f6215a5bb1
remove unused scripts
2022-09-23 15:31:07 +01:00
hlky
8b4464a706
Add periodic checkpointing
...
Update diffusers_textual_inversion_2.py
2022-09-23 15:29:08 +01:00
Colton
f0be43d7df
Send the image grid to the front end if generated for a prompt matrix ( #1200 )
2022-09-23 14:32:36 +03:00
Qualzz
75eac9c5c0
moved pagination logic before the rendering of the component ( #1268 )
2022-09-22 23:09:42 +03:00
ZeroCool940711
e49699a65e
Basic code for the streamlit textual inversion page.
2022-09-22 01:44:35 -07:00
ZeroCool940711
889256d26e
Improved the script that downloads the concepts library from huggingface in case someone wants to use it.
2022-09-22 00:02:44 -07:00
ZeroCool940711
3cd91bde82
The denoising_strength slider on img2img is now customizable using the config file.
2022-09-21 14:58:49 -07:00
ZeroCool940711
2c7b22a540
The Find Noise Steps slider om img2img can now be customizable from the config file.
2022-09-21 00:39:27 -07:00
ZeroCool940711
e874a2d6a7
Added condition to check if the concepts library folder exist and if not tell the user where to download the concepts from.
2022-09-20 22:15:49 -07:00
ZeroCool940711
8584205e11
Added implementation of the Concepts Library tab made by @Qualzz.
2022-09-20 21:06:00 -07:00
ZeroCool940711
f99657241d
Fixed the image not been decoded in txt2vid if the Update Image Preview options was not checked.
2022-09-20 17:07:38 -07:00
hlky
ba84d28da2
txt2vid fix enumerate(... max_frames))
-> enumerate(... num_steps))
2022-09-20 14:00:08 +01:00
Thomas Mello
3705f296c6
fix: division by zero, inefficient preview check ( #1230 )
2022-09-19 21:05:18 +03:00
hlky
c6bf0d2ecb
Update diffusers_textual_inversion_2.py
2022-09-19 14:49:00 +01:00
hlky
91c0d0f20b
Create diffusers_textual_inversion_2.py
2022-09-19 13:09:45 +01:00
ZeroCool940711
56ae22eb53
- Improved optimized mode for txt2img, it should be able to generate high resolution images using less VRAM than before.
...
- Improved txt2vid so its now possible to generate high resolution images with less VRAM than before.
- Added condition to ensure that the pipe model from txt2vid is removed from memory when switching from the txt2vid tab to txt2img and viceversa.
2022-09-19 00:02:21 -07:00
ZeroCool940711
1d9ef57802
Fixed the filename of the video generated at the end of a txt2vid generation, it was saved as test.mp before but now its saved as seed_prompt.mp4 with the seed and prompt form the generation.
2022-09-18 18:29:19 -07:00
ZeroCool940711
a7d7955721
GFPGAN can now be used on the txt2vid tab.
2022-09-18 15:17:02 -07:00
ZeroCool940711
db0eb80728
Fixed typo on the sd-concepts-library path.
2022-09-18 14:20:13 -07:00
ZeroCool940711
1b1f784a76
Every slider min, max and step values as well as its default value is now configurable through the config file.
2022-09-18 11:11:23 -07:00
ZeroCool940711
fdd0c38ac2
Added missing sd_concept_library.py file.
2022-09-18 09:15:05 -07:00
hlky
6f4a1d8a41
slider_steps and slider_bounds in defaults config
...
slider_steps and slider_bounds in defaults config
2022-09-18 12:23:51 +01:00
Thomas Mello
afe954d4e9
Merge remote-tracking branch 'upstream/dev' into the-merge
2022-09-18 13:03:19 +03: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
Thomas Mello
148c41826b
Merge branch 'dev' into the-merge
...
# Conflicts:
# .gitignore
# README.md
# configs/webui/webui_streamlit.yaml
# environment.yaml
# frontend/css/streamlit.main.css
# frontend/frontend.py
# scripts/webui_streamlit.py
2022-09-18 12:31:17 +03: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
ZeroCool940711
997eb12733
Basic implementation for the Concept Library tab made by cloning the Home tab.
2022-09-17 19:02:40 -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
ZeroCool940711
c35e5804c2
Added a config option to use embeddings from the huggingface stable diffusion concept library.
2022-09-17 15:25:55 -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
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
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
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
Charles Galant
d293073e67
Enable negative prompts on streamlit
2022-09-16 13:25:25 -04:00
ZeroCool
9a6b2173a5
Merge branch 'dev' into gallery-fixes
2022-09-16 04:21:58 -07:00
ZeroCool
e65b8d0b8a
Merge branch 'dev' into fix-find-noise
2022-09-16 04:15:11 -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
ZeroCool940711
88ae534693
Fixed a missing import on the ModelManager script.
2022-09-15 14:27:13 -07:00