ZeroCool940711
f415dad27e
Changed txt2img st.slider to st.number_input as its easier to use and more flexible than a slider.
2022-10-06 01:45:47 -07:00
ZeroCool940711
173d527979
Force model availability, if inside a condition they will only be checked once so in order to see new models you would need to restart streamlit.
2022-10-05 23:47:05 -07:00
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
ZeroCool940711
f866ffdad4
Fixed multiple settings and default values not working properly.
2022-10-02 21:25:41 -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
541c354f8b
Merge remote-tracking branch 'origin/dev' into dev
...
# Conflicts:
# scripts/txt2img.py
2022-10-01 11:58:20 -07:00
ZeroCool940711
0f36186236
Added drop down menu to select from the available GFPGAN models we have installed.
2022-10-01 11:52:31 -07:00
Qualzz20m
65a89c4aeb
gallery_v1
2022-10-01 20:14:32 +02: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
hlky
4a15702fe9
License header
2022-09-26 14:02:48 +01:00
ZeroCool940711
61e4839a1b
Merge remote-tracking branch 'origin/dev' into dev
2022-09-26 05:00:34 -07:00
ZeroCool940711
d940c491a7
- Improved the layout of the UI.
...
- Moved relevant options to the top and group them together for easy access.
2022-09-26 04:53: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
b8b9df717a
Removed some unused functions and code so we can upgrade streamlit to version 1.13.0.
2022-09-24 18:04:21 -07:00
ZeroCool940711
3816b28d2c
Fixed error with CustomModel_available not being in session_state after the Settings page change.
2022-09-24 15:27:09 -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
hlky
2146f1dd68
slider_steps and slider_bounds in defaults config
...
slider_steps and slider_bounds in defaults config
2022-09-18 14:06:40 +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
ZeroCool940711
997eb12733
Basic implementation for the Concept Library tab made by cloning the Home tab.
2022-09-17 19:02:40 -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
9a6b2173a5
Merge branch 'dev' into gallery-fixes
2022-09-16 04:21:58 -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
Chris Heald
8a25dcc332
Fix errors rendering galleries when there are not enough images to render
2022-09-15 11:06:56 -07:00
ZeroCool940711
4068d804ad
- Added the Home tab made by @devilismyfriend
...
- Added gallery tab on txt2img.
2022-09-15 06:29:41 -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
02fe63acb2
Added custom models list to the txt2img tab.
2022-09-14 14:48:13 -07: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
4c46633572
Fixed defaults not being loaded correctly or missing in some places.
2022-09-14 09:26:23 -07: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
ZeroCool940711
ef6b39ab6d
Fixed the info message on the txt2img tab not showing the info but just showing the text "Done"
2022-09-14 03:20:19 -07:00
ZeroCool940711
ede343a269
The webui_streamlit.py file has been split into multiple modules containing their own code making it easier to work with than a single big file.
...
The list of modules is as follow:
- webuit_streamlit.py: contains the main layout as well as the functions that load the css which is needed by the layout.
- webui_streamlit_old.py: contains the code for the previous version of the WebUI. Will be removed once the new UI code starts to get used and if everything works as it should.
- txt2img.py: contains the code for the txt2img tab.
- img2img.py: contains the code for the img2img tab.
- txt2vid.py: contains the code for the txt2vid tab.
- sd_utils.py: contains utility functions used by more than one module, any function that meets such condition should be placed here.
- ModelManager.py: contains the code for the Model Manager page on the sidebar menu.
- Settings.py: contains the code for the Settings page on the sidebar menu.
- home.py: contains the code for the Home tab, history and gallery implemented by @devilismyfriend.
- imglab.py: contains the code for the Image Lab tab implemented by @devilismyfriend
2022-09-13 14:09:39 -07:00