Commit Graph

1169 Commits

Author SHA1 Message Date
Ruslan Sheptolut
468d468fbb
Don't ask about restoring stash if nothing was stashed (#1533)
# Description

Minor quality of life update.

Recently launching the webui.bat became a bit more annoying, as it
always asks about restoring changes, even if I have none, and then it
needs another interaction for no reason (pause>nul).

This change makes sure the interaction is only needed when there were
changes stashed, and removes the second pause.

Yesterday I double clicked the shortcut to start the Stable Horde worker
overnight, and even noticed the "Y/N" prompt, but went to bed not
realizing it also does the (pause>nul) after that... No reason to be
this intrusive.

Closes: #1532

# 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
- [X] I have made corresponding changes to the documentation
2022-10-17 13:01:17 +03:00
Jorge Castro Nistal
7acc2456f8
Fix Image Enhancers Documentation link on Readme.md (#1535)
# Description
- Fix Image Enhancers Documentation link on Readme.md
2022-10-17 00:17:24 +03:00
Alejandro Gil
bd57d22f2e
Dev bridge2 from db0 (#1534) 2022-10-16 00:16:44 -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
Alejandro Gil
683804b941
Added option to run inference for txt2img using Stable Horde instead of the local GPU. (#1531) 2022-10-15 15:45:22 -07: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
495d652324 Added option to keep all models loaded and not delete them. 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
57112459ca Added option to keep all models loaded and not delete them. 2022-10-15 05:33:02 -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
Alejandro Gil
772872589e
Bridge updates from db0 repo (#1527) 2022-10-14 22:54:37 -07:00
Alejandro Gil
f37b0ada6e
Added decorest dependency. (#1526) 2022-10-14 22:35:33 -07:00
ZeroCool940711
6014815bcd Merge remote-tracking branch 'origin/dev' into dev 2022-10-14 22:35:00 -07:00
ZeroCool940711
40bf5ea49b Added decorest dependency. 2022-10-14 22:34:44 -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
Alejandro Gil
fd51bab1ec
Added first implementation to support the stable horde bridge on the streamlit version. (#1525) 2022-10-14 12:12:08 -07:00
Alejandro Gil
a1763c3c9e
Merge branch 'sd-webui:dev' into dev 2022-10-14 12:10:27 -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
hlky
0df6993095
Delete .idea directory 2022-10-14 18:46:38 +01:00
Thomas Mello
d9a163b1b0
chore: bump Gradio to 3.4.1 (#1520)
* update gradio
* fix some glaring styling issues

Note: the server message has changed and now the address `0.0.0.0:7680`
is shown by default which might not work in browsers. The server is
still accessible through `localhost`/real ip address
2022-10-14 14:54:35 +03:00
Alejandro Gil
9b67bf1497
Added files for tag autocomplete for danbooru and e621 in case someone wants to implement that into the text area for the prompt. (#1517) 2022-10-12 22:34:52 -07:00
ZeroCool940711
7ebc29fa3c Added files for tag autocomplete for danbooru and e621 in case someone wants to implement that into the text area for the prompt. 2022-10-12 22:33:54 -07:00
Alejandro Gil
cf7c511a67
Fixed issue when hydralit was not enabled. (#1514) 2022-10-12 12:59:33 -07:00
ZeroCool940711
2096cec41b Merge remote-tracking branch 'origin/dev' into dev 2022-10-12 12:58:48 -07:00
ZeroCool940711
a74d9685ff Fixed issue when hydralit was not enabled. 2022-10-12 12:58:40 -07:00
Alejandro Gil
945ed4fd7d
Disabled the hydralit loader for full page when first opened. (#1513) 2022-10-12 12:00:35 -07:00
ZeroCool940711
863082cc0f Disabled the hydralit loader for full page when first opened. 2022-10-12 12:00:06 -07:00
Alejandro Gil
0b09276d3d
Added config option to enable or disable hydralit. (#1512) 2022-10-12 11:04:43 -07:00
ZeroCool940711
3cb9b62130 Added config option to enable or disable hydralit. 2022-10-12 11:03:59 -07:00
Alejandro Gil
6cc906b869
Added librosa to the list of dependencies. (#1511) 2022-10-12 09:42:19 -07:00
ZeroCool940711
c0cb6d0720 Added librosa to the list of dependencies. 2022-10-12 09:41:49 -07:00
Alejandro Gil
a4c87c75f5
Fixed issue with the do_loop option after it was removed. (#1508) 2022-10-12 00:09:13 -07:00
ZeroCool940711
ffdcbb4504 Fixed issue with the do_loop option after it was removed. 2022-10-12 00:08:38 -07:00