Commit Graph

15 Commits

Author SHA1 Message Date
Divided by Zer0
5853f3e1a1
Stable Horde bridge (#1204)
# Adds the bridge code which when enabled turns the webui into a
headless [Stable Horde](https://stablehorde.net) instance

It adds a few new command-line args to be able to pass variables to the
bridge, as well as the possibility to set it via a variables files
`bridgeData.py`.

To start the bridge, one needs to add the `--bridge` argument to their
relauncher.py as well as any horde vars they want to specify.

On top of that this adds the loguru module as well as my tuned loguru
config. This provides a much nicer logging output and provides the
capability to save output to files for issue reports etc. For now only
the bridge is utilizing the nice format, but once it's merged, you can
start replacing `print()` with `logger.xxx()` where appropriate

To make the bridge work, I've had to add defaults to txt2img but this
should not affect anything.


# 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

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
Co-authored-by: Thomas Mello <work.mello@gmail.com>
Co-authored-by: Joshua Kimsey <jkimsey95@gmail.com>
Co-authored-by: ZeroCool <ZeroCool940711@users.noreply.github.com>
2022-10-02 18:22:27 +01:00
hlky
4a15702fe9
License header 2022-09-26 14:02:48 +01:00
Victor Möller
23d825221f
Fixed webui.cmd crash when having () in path. #1276 (#1279)
Co-authored-by: Dice <What is Email?>
2022-09-23 10:14:20 +01:00
hlky
64dbc0f39b
environment update from .cmd 2022-09-16 11:12:15 +01:00
Brian Semrau
e2b0c0f7a9
Update conda environment on startup always (#1171)
* Update environment on startup always

* Message to explicitly state no environment.yaml update required

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-09-16 08:35:53 +01:00
Thomas Mello
2afa61708d
chore: add breaks to cmds for readability (#1134) 2022-09-15 00:34:15 +03:00
Brian Semrau
b76e14ea3c
Add a separate update script instead of git pull on startup (#1106) 2022-09-14 19:43:32 +03:00
Syahmi Azhar
93d53f9c32
fix: launcher batch file fix #920, fix #605
- Allow reading environment.yaml file in either LF or CRLF
- Only update environment if environment.yaml changes
- Remove custom_conda_path to discourage changing source file
- Fix unable to launch webui due to frontend module missing (#605)
2022-09-13 12:13:23 +03:00
Matt Soucy
4f7ea60a2e
Use the webui script directories as PWD (#946) 2022-09-12 11:41:47 +03:00
Hafiidz
11af1d9338 Urgent Fix to PR:860 2022-09-09 19:07:35 +08:00
Thomas Mello
606aea2866
chore: update maintenance scripts and docs (#891)
* automate conda_env_name as per name in yaml

* Embed installation links directly in README.md

Include links to Windows, Linux, and Google Colab installations.

* Fix conda update in webui.sh for pip bug

* Add info about new PRs

Co-authored-by: Hafiidz <3688500+Hafiidz@users.noreply.github.com>
Co-authored-by: Tom Pham <54967380+TomPham97@users.noreply.github.com>
Co-authored-by: GRMrGecko <grmrgecko@gmail.com>
2022-09-09 13:09:13 +03:00
ZeroCool940711
70e4fa1c47 Added "git pull" and "git stash" to the commands run by the cmd scripts when launching the UI, this should make it so people who use it can automatically update the code from the repo and be up to date without manually using those commands everytime. 2022-09-07 19:21:34 -07:00
hlky
06df5a5697
Revert "img2img fixes"
This reverts commit e66eddc621.
2022-09-07 02:56:23 +01:00
hlky
e66eddc621
img2img fixes 2022-09-07 02:35:01 +01:00
hlky
010b27ce9a
Repo merge (#712)
* repo-merge

* cutdown size

* Create setup.py

* webui.cmd

* ldm

* Update environment.yaml

* Update environment.yaml
2022-09-06 23:50:14 +01:00