Commit Graph

67 Commits

Author SHA1 Message Date
ZeroCool940711
3736a35e26 Initial conversion of the sd_util.py file into a package with smaller modules in it. 2022-11-03 00:05:54 -07:00
fezeral
10b66cc2b9 Fixed errors when post-processing models aren't installed
Fixes #1522, #1604
2022-11-01 17:26:47 +10:30
ZeroCool940711
e73e0c45b0 Removed unnecessary code from previous iteration of the gallery tab as its no longer needed. 2022-10-31 05:36:43 -07:00
ZeroCool940711
83aa96e0d9 Changed txt2img to properly take the stable horde api from the settings page as it was not taking it from there but had a fixed value before. This means every time you had to manually add the api key, now you can just add it on the settings page once and it will be used from there. 2022-10-30 04:23:29 -07:00
ZeroCool940711
d1d672fcfb Added default stable horde api for anonymous usage. 2022-10-30 03:35:52 -07:00
ZeroCool940711
8b638b338d Removed the gallery message as its not needed. 2022-10-29 23:45:27 -07:00
ZeroCool940711
658646eed2 Removed message shown on the gallery tab when empty which was still shown even when it was not empty. 2022-10-29 22:23:31 -07:00
ZeroCool940711
f52efdfcd6 Reduced the size of the first column on txt2img and txt2vid to have more available space. 2022-10-28 12:18:46 -07:00
Lucas Czernohorsky
aa3f92b611 floating suggestions area, first context sensitive responses (type by and get artist list), automated recognition of words "of, at, with" to not add a ",".
complex pattern matching support, to remove double "," and double text generation in general.
improved key phrase list.
full artist thumbnails support.
2022-10-26 12:42:48 +02:00
ZeroCool940711
ad5597b968 Allow users to set the preview frequency to 0 in case they need to disable it. 2022-10-24 12:35:30 -07:00
ZeroCool940711
cb501565c2 More renaming and changed to links related to the organization, docs and repo names. 2022-10-23 18:54:10 -07:00
ZeroCool940711
97eb1b169b More renaming and changes to links related to the organization, docs an repo names. 2022-10-23 17:17:50 -07:00
ZeroCool940711
73fadb231f Fixed links so they point to the new repo and organization names. 2022-10-23 16:22:40 -07:00
ZeroCool940711
60766d3150 Fixed stable horde not working properly. 2022-10-22 00:37:09 -07:00
ZeroCool940711
accc6f411e Changed the default Stable Diffusion model to runwayml/stable-diffusion-v1-5 2022-10-20 19:53:09 -07:00
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