Commit Graph

1415 Commits

Author SHA1 Message Date
Lucas Czernohorsky
f630ee5c90 draggable number input component small fixes and visual improvements.
fixed drag being blocked by "press enter to apply" text.
2022-10-20 11:39:09 +02:00
Alejandro Gil
3db26b92d1
Fixed the image preview not been centered. (#1553) 2022-10-19 19:57:14 -07:00
ZeroCool940711
2fc7a8817f Added placeholder for the API Server. 2022-10-19 19:55:34 -07:00
ZeroCool940711
0e226ff8c2 Merge remote-tracking branch 'origin/dev' into dev 2022-10-19 13:48:16 -07:00
ZeroCool940711
64fba3e002 Fixed the image preview not been centered. 2022-10-19 13:48:08 -07:00
Alejandro Gil
054fe889dc
Added a menu bar at the top and moved the items from the sidebar to the menu bar for easy access. (#1552) 2022-10-19 13:00:24 -07:00
ZeroCool940711
5a23cb2aae Few other fixes for missing imports. 2022-10-19 12:44:56 -07:00
ZeroCool940711
ec390a5537 More empty spaces removed from the layout. 2022-10-19 12:43:31 -07:00
ZeroCool940711
aa85b25f65 Added reraise and logger catch to the settings layout function. 2022-10-19 11:18:06 -07:00
ZeroCool940711
7a2376a590 Fixed a weird error with collections.abc not being found some times, this is most likely related to one of the libraries we use but to fix it temporarily we need to import it before anything else. 2022-10-19 11:17:20 -07:00
ZeroCool940711
082ce79074 Improved the layout by removing some empty spaces. 2022-10-19 11:16:01 -07:00
Alejandro Gil
33c4e3c8c5
Added implementation made by @NaMJaG for key phrase suggestions under the prompt. (#1551)
![image](https://cdn.discordapp.com/attachments/1030858973823377408/1030858974033100912/suggestions.gif)
2022-10-19 08:04:41 -07:00
ZeroCool940711
345ea8623f Added implementation made by @NaMJaG for key phrase suggestions under the prompt. 2022-10-19 07:56:36 -07:00
hlky
5236d859e5
img2img cfg_scale value 2022-10-19 14:49:03 +01:00
Thomas Mello
f53314aeca
The Mergening (#1550) 2022-10-19 15:09:04 +03:00
Thomas Mello
96148e89d0
revert LDSR installation to be editable (#1549)
# Description

LDSR is once again installed to src to be able to import it inside webui

Closes: #1497
2022-10-19 13:27:20 +03:00
Alejandro Gil
64d3e2f9d2
Removed trailing spaces from the config file to improve codefactor code quality. (#1546) 2022-10-18 06:11:07 -07:00
ZeroCool940711
11a3a089f5 Merge remote-tracking branch 'origin/dev' into dev 2022-10-18 06:00:17 -07:00
ZeroCool940711
48251c98b9 Removed trailing spaces from the config file to improve codefactor code quality. 2022-10-18 06:00:02 -07:00
Alejandro Gil
2119694e08
Added version control and management for the user and defaults config file. (#1545) 2022-10-18 05:54:37 -07:00
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
Alejandro Gil
7a600d7d4a
Changed CFG scale to be a number_input instead of a slider. (#1542) 2022-10-17 18:03:54 -07:00
ZeroCool940711
52dc87ca5b Merge remote-tracking branch 'origin/dev' into dev 2022-10-17 18:03:03 -07:00
ZeroCool940711
774073c8c3 Changed CFG scale to be a number_input instead of a slider. 2022-10-17 18:02:51 -07:00
Alejandro Gil
27d04f7640
Moved the logger.py file again to the scripts folder instead of bein on its own folder. (#1541)
- Improved logging for img2txt.
2022-10-17 16:01:47 -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
Alejandro Gil
26cbd2d88a
Merge branch 'sd-webui:dev' into dev 2022-10-17 05:38:09 -07:00
ZeroCool940711
88a0deccca Added hydrus_api library which will be used to query hydrus for tags. 2022-10-17 05:37:55 -07:00
ZeroCool940711
cc825e55ea Added reraise option for loguru. 2022-10-17 05:37:55 -07:00
ZeroCool940711
dd8161fd62 Added reraise option for loguru. 2022-10-17 05:37:55 -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
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