Commit Graph

21 Commits

Author SHA1 Message Date
ZeroCool940711
f4563ea587 Removed default hard coded server address from the cmd and sh file as they are now customizable through the Settings page on the streamlit version. 2022-10-28 23:21:18 -07:00
ZeroCool940711
e2ca081072 Renamed the webui_streamlit.cmd to webui.cmd. 2022-10-26 20:24:47 -07:00
ZeroCool940711
cb501565c2 More renaming and changed to links related to the organization, docs and repo names. 2022-10-23 18:54:10 -07:00
ZeroCool940711
97eb1b169b More renaming and changes to links related to the organization, docs an repo names. 2022-10-23 17:17:50 -07:00
ZeroCool940711
73fadb231f Fixed links so they point to the new repo and organization names. 2022-10-23 16:22:40 -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
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