Commit Graph

73 Commits

Author SHA1 Message Date
ZeroCool940711
e524f690b9 Moved the logger.py file again to the scripts folder instead of bein on its own folder. 2022-10-17 15:59:15 -07:00
ZeroCool940711
68a8fc26d6 Added reraise option for loguru. 2022-10-17 05:10:06 -07:00
Divided by Zer0
2ea0e6b7d8 logger improvements 2022-10-16 01:59:39 +02: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
94084b2104 Removed decorest. 2022-10-15 09:29:38 -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
ed0d6b1968 Added logger using loguru from the logger.py.
- From now on it will create a folder called "logs" with the current time on each launch and then save a log file with anything we want to log there including exceptions from streamlit.
2022-10-15 04:12:55 -07:00
ZeroCool940711
5703941398 Added some defaults to txt2img when we execute it on run_bridge so it doenst save any image from the horde to our hard drive. 2022-10-15 00:09:20 -07:00
Divided by Zer0
28cbaf1499 verbsotiy 2022-10-14 23:27:37 +02:00
Divided by Zer0
2641ff60a8 wip 2022-10-14 22:41:59 +02:00
Divided by Zer0
616d586acf wip 2022-10-14 22:27:56 +02: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
a74d9685ff Fixed issue when hydralit was not enabled. 2022-10-12 12:58:40 -07:00
ZeroCool940711
863082cc0f Disabled the hydralit loader for full page when first opened. 2022-10-12 12:00:06 -07:00
ZeroCool940711
3cb9b62130 Added config option to enable or disable hydralit. 2022-10-12 11:03:59 -07:00
ZeroCool940711
67f4c27ea2 Improved hot reloading for some model options like optimized and float16. 2022-10-11 22:33:28 -07:00
ZeroCool940711
3adca938f1 Added exception handling for the model args option as it can sometimes not work properly and throw an error. 2022-10-09 15:40:07 -07:00
ZeroCool940711
e95385e27e Fixed use of multiple spaces after some operators. 2022-10-06 23:45:55 -07:00
ZeroCool940711
422c0d6329 Walk the directory for GFPGAN so we can also get the older models in case we have more than one, this allow us to compare multiple versions to see how they perform against each other. 2022-10-06 00:03:45 -07:00
hlky
c2f1970e6b
convert pt embed to bin 2022-10-06 02:40:36 +01: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
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