Kasiya13
24509a647e
Settings and defaults for upscaling ( #1435 )
...
-Changes wording on Memory Monitor to not alarm users (happened a few
times)
-Adds config settings "use_upscaling" and "upscaling_method" to settings
menu, were already in yaml
2022-10-05 22:23:31 +03:00
Thomas Mello
1b59570773
fix: LDSR loading ( #1433 )
2022-10-05 20:50:05 +03:00
hlky
b650c162e6
src->models
2022-10-05 01:03:06 +01:00
hlky
3851fcc537
model manager
...
model manager
2022-10-04 19:39:52 +01:00
ZeroCool940711
3b104987bb
Fixed error when selecting LDSR without GFPGAN enabled.
2022-10-03 08:58:37 -07:00
ZeroCool940711
2a078d5657
Fixed missing keys on first run, it seems related to server_state doing a rerun in the background on first run which changes the first session_state initialization, this causes it to be empty until the second run.
2022-10-02 21:50:24 -07:00
ZeroCool940711
393a695aef
Fixed LDSR, now it should work both txt2img and img2img
2022-10-02 20:26:01 -07:00
ZeroCool940711
7354c901d2
Fixed LDSR not working on txt2img and img2img.
...
- Removed the checkbox to disable the preview image, instead users should increase the frequency at which it is displayed if they have performance issues, after a certain point it no longer affects performance.
2022-10-02 13:10:17 -07:00
ZeroCool940711
4e0511dbac
Changed the default output folder to be shorter.
2022-10-02 09:46:30 -07:00
ZeroCool940711
91957dab34
Fixed GFPGAN upscaling at the end of the generation as well as doing the face restoratin.
...
- Added default values to some functions arguments to make them optional.
2022-10-02 07:54:56 -07:00
ZeroCool940711
0c03cedeb9
Added LDSR to the UI.
2022-10-01 20:18:09 -07:00
ZeroCool940711
3756c1d74c
Added option on the UI to select a model for GFPGAN in case we have more than one version on its folder.
2022-10-01 17:43:36 -07:00
ZeroCool940711
d8a8687852
Improved img2txt layout and performance.
2022-09-30 12:41:01 -07:00
ZeroCool940711
8673363d71
Moved the css loading to be on sd_utils.py
2022-09-30 02:04:52 -07:00
ZeroCool940711
625ba555e3
Fixed custom models not loading on txt2img, img2img and txt2vid.
2022-09-29 03:29:44 -07:00
Alejandro Gil
3e40bab7f7
Changed the default streamlit import for hydralit as we will be using hydralit as replacement for the default streamlit library, hydralit provides better control over css as well as having a lot more options. ( #1352 )
2022-09-28 09:33:54 -07:00
Alejandro Gil
519d7c661f
Added new implementation of the textual inversion page. ( #1342 )
2022-09-27 11:36:48 -07:00
hlky
4a15702fe9
License header
2022-09-26 14:02:48 +01:00
ZeroCool940711
0d9f3f4947
Added support for running the webui on daisi.io
2022-09-26 02:36:21 -07:00
ZeroCool940711
c37a92c39f
Added option to enable or disable the streamlit data usage gathering or telemetry.
2022-09-26 01:12:06 -07:00
ZeroCool940711
e6529b22ec
Made sure GFPGAN and RealESRGAN are on server_state.
2022-09-25 21:07:06 -07:00
ZeroCool940711
a1fff59a73
Fixed "device" not being on server_state.
2022-09-25 03:55:16 -07:00
ZeroCool940711
47df4681ee
Reduced the folder name a bit more to help with long paths on windows.
2022-09-25 01:44:34 -07:00
ZeroCool940711
7084e94bdf
Moved the model to server_state instead of session_state so it can be shared between multiple sessions, tabs and users as long as the streamlit server is running.
2022-09-25 00:03:05 -07:00
ZeroCool940711
9b73f463cf
- Added function to convert bytes to a human readable string.
...
- Added basic implementation of "enable_minimal_memory_usage".
2022-09-24 05:11:33 -07:00
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
ZeroCool940711
3cd91bde82
The denoising_strength slider on img2img is now customizable using the config file.
2022-09-21 14:58:49 -07:00
Thomas Mello
3705f296c6
fix: division by zero, inefficient preview check ( #1230 )
2022-09-19 21:05:18 +03: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
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
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
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
Charles Galant
d293073e67
Enable negative prompts on streamlit
2022-09-16 13:25:25 -04:00
Chris Heald
51a973929c
Fix invalid invocation of find_noise_for_image
2022-09-15 12:48:35 -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
ZeroCool940711
3675b566a4
Merge remote-tracking branch 'origin/dev' into dev
...
# Conflicts:
# scripts/img2img.py
# scripts/sd_utils.py
# scripts/txt2img.py
2022-09-14 11:39:21 -07:00
ZeroCool940711
dbbed38c8c
- Fixed max_frame not being properly used and instead sampling_steps was the variable being use.
...
- Fixed several issues with wrong variable being used on multiple places.
- Addd option to toggle some extra option from the config file for when the model is loading on the txt2vid tab.
2022-09-14 11:34:24 -07:00
ZeroCool940711
4c46633572
Fixed defaults not being loaded correctly or missing in some places.
2022-09-14 09:26:23 -07:00
Thomas Mello
8df0b1a26d
temp disable nvml support for multiple gpus
2022-09-14 18:41:42 +03:00
Thomas Mello
ede81bdc5c
fix: [streamlit] optimization mode
2022-09-14 18:22:24 +03:00
ZeroCool940711
ed1ebc129c
Modified the way the defaults settings are loaded from the config file so we only load them on the webui_strealit.py file and use st.session_state to access them from anywhere else, this makes it so the config can be modified externally like before the code split and the changes will be updated on next rerun of the UI.
2022-09-14 06:40:56 -07:00
ZeroCool940711
9246692072
Moved defaults to the webui_streamlit.py file and fixed some imports.
2022-09-14 04:19:24 -07:00