Commit Graph

52 Commits

Author SHA1 Message Date
ZeroCool940711
b96a61be9f Added default height value to the text are for the prompt on most tabs, this should help with it having the proper height, we still need to change min-height through CSS so it might still break sometimes. 2022-10-20 13:24:56 -07:00
ZeroCool940711
5a23cb2aae Few other fixes for missing imports. 2022-10-19 12:44:56 -07:00
ZeroCool940711
345ea8623f Added implementation made by @NaMJaG for key phrase suggestions under the prompt. 2022-10-19 07:56:36 -07:00
ZeroCool940711
774073c8c3 Changed CFG scale to be a number_input instead of a slider. 2022-10-17 18:02:51 -07:00
ZeroCool940711
68a8fc26d6 Added reraise option for loguru. 2022-10-17 05:10:06 -07:00
ZeroCool940711
d3e22998af Added option to run the generation using Stable Horde instead of the local GPU. 2022-10-15 15:37:04 -07:00
ZeroCool940711
e7106a052d Replaced most if not all print statements with loguru to make the console output easier to understand and just look better overall. 2022-10-15 05:34:07 -07:00
ZeroCool940711
8d2cf46fbc Added first implementation to support the stable horde bridge on the streamlit version. 2022-10-14 12:09:47 -07:00
ZeroCool940711
84479d88b8 Changed the prompt text_input for a text_area and made it similar in size to the text input. 2022-10-09 03:21:06 -07:00
ZeroCool940711
55b39b53bc Changed some more text_input to number_input and made sure they return the right value type. 2022-10-07 17:57:06 -07:00
ZeroCool940711
45976077c0 Changed the image preview frequency field to only allow positive values. 2022-10-07 16:59:29 -07:00
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