Commit Graph

335 Commits

Author SHA1 Message Date
ZeroCool940711
528d95085f Removed some backslashes to comply with codefactor as they are redundant. 2022-10-18 05:54:14 -07:00
ZeroCool940711
908aa0647c Added version control and management for the user and defaults config file. 2022-10-18 05:49:30 -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
27c13fb625 Improved logging for img2txt. 2022-10-17 15:59:29 -07:00
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
f893e85b5c Added hydrus_api library which will be used to query hydrus for tags. 2022-10-17 05:11:01 -07:00
ZeroCool940711
68a8fc26d6 Added reraise option for loguru. 2022-10-17 05:10:06 -07:00
ZeroCool940711
ef0b5f4c3e Added reraise option for loguru. 2022-10-17 05:09:47 -07:00
Divided by Zer0
2ea0e6b7d8 logger improvements 2022-10-16 01:59:39 +02:00
Divided by Zer0
974743fbcc logger import 2022-10-16 01:38:36 +02:00
ZeroCool940711
b8d634455b Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	scripts/sd_utils.py
#	scripts/txt2img.py
2022-10-15 15:41:16 -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
c509a961cb Removed decorest. 2022-10-15 09:32:15 -07:00
ZeroCool940711
2fcad23c77 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 09:32:15 -07:00
ZeroCool940711
03ab7c0716 Added threading support for the horde bridge. 2022-10-15 09:32:15 -07:00
ZeroCool940711
9901b15948 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 09:32:15 -07:00
ZeroCool940711
5b728ce803 Fixed logger.level() error when using the logger module with streamlit. It was getting loaded twice and so giving some errors because of this. 2022-10-15 09:32:15 -07:00
ZeroCool940711
1513632063 Forced page rerun when hitting the reset button on the Settings page. 2022-10-15 09:32:15 -07:00
ZeroCool940711
bd03ad4671 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 09:32:15 -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
1e1bf226a4 Added threading support for the horde bridge. 2022-10-15 04:13:38 -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
764a43270e Fixed logger.level() error when using the logger module with streamlit. It was getting loaded twice and so giving some errors because of this. 2022-10-15 02:17:31 -07:00
ZeroCool940711
d92dfb897e Forced page rerun when hitting the reset button on the Settings page. 2022-10-15 02:05:30 -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
d11eac1c4f indent 2022-10-14 22:31:16 +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
ffdcbb4504 Fixed issue with the do_loop option after it was removed. 2022-10-12 00:08:38 -07:00
ZeroCool940711
67f4c27ea2 Improved hot reloading for some model options like optimized and float16. 2022-10-11 22:33:28 -07:00
ZeroCool940711
1cc22b0984 Add option to select between lerp and slerp in txt2vid 2022-10-11 22:33:28 -07:00
MechanoPixel
2215a3b403
Skip WebUI prompt if --bridge passed, Detailed error messages if bridgeData.py fails to load (#1483)
# Description

Please include:
- [x] relevant motivation
- [x] a summary of the change
- [ ] which issue is fixed.
- [x] any additional dependencies that are required for this change.

Fixes a small typo of "Bridg" in horde_bridge.sh
Makes webui.sh skip asking for StreamLit/Gradio if --bridge is passed
More detailed error messages if bridgeData.py is missing/malformed
(previously it would only say no bridgeData found, which caused
confusion when bridgeData did exist but was incorrectly formatted)

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation

Co-authored-by: mechanopixel <takatarumc@gmail.com>
2022-10-11 13:23:04 +03:00
ZeroCool940711
1bc6c9b6db You can now change the optimized mode, float16 and no_half options without having to restart the app. 2022-10-10 20:45:37 -07:00
ZeroCool940711
e235a2fd76 Fixed the beta start and beta end format. It was been converted to int by number_input instead of using text_input. 2022-10-10 03:46:16 -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
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
fe6e72fde7 Added save_video_on_stop option to the Settings page, this option is used to save the txt2vid generated video to disk when we hit the stop button mid generation. 2022-10-07 23:49:19 -07:00
ZeroCool940711
63b2ff22c6 Added the ability to save the video during mid generation when we hit the stop button.
- Fixed GFPGAN not working on txt2vid.
2022-10-07 23:49:19 -07:00
ZeroCool940711
ac2d348f04 Fixed "expected scalar type Half but found Float" on txt2vid. 2022-10-07 20:32:02 -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
e95385e27e Fixed use of multiple spaces after some operators. 2022-10-06 23:45:55 -07:00
cstueckrath
c8740fadb4
fix type error 2022-10-07 08:12:28 +02:00
ZeroCool940711
ad94cc17a6 Changed some more text_input to number_input. 2022-10-06 02:08:29 -07:00