Commit Graph

22 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
a9bc7eae19 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-23 02:58:24 +00:00
cmdr2
5e725e036e
Merge branch 'dev' into master 2022-11-03 09:46:25 +05:30
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
cmdr2
25cc2af82b
Merge branch 'dev' into master 2022-10-26 16:11:39 +05:30
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
Alejandro Gil
bff1bd0021
Merge branch 'dev' into master 2022-10-22 23:34:29 -07:00
Joshua Kimsey
3deec6ff1f Updated webui.sh to work with new v1.5 model files
Program will no longer exit if it doesn't detect a generic `model.ckpt` in the old default tree. Will still warn that Gradio requires this though.
2022-10-21 00:48:54 -04:00
cmdr2
89a9cea83d Linux 1-click installer 2022-10-13 14:56:50 +05:30
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
hlky
b650c162e6
src->models 2022-10-05 01:03:06 +01:00
Divided by Zer0
bb8850b9dd
Allows passing args to webui.sh and webui.cmd (#1385)
This change helps with starting the stable horde bridge, without having
to change the relauncher.py every time. It also allows one to start
multiple bridges (for multiple GPUs) by passing the `-n` argument to the
.cmd/.sh
2022-10-02 19:24:23 +01: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
Andrew Ginns
52130af8ae
Add clarity for model location in webui script. (#1317) 2022-09-25 21:23:18 +03:00
Joshua Kimsey
f5164629be Added ability to auto-download sd concepts repo
Added the ability to download the zip file for the sd concepts library. Zip file will be extracted, and have the core concepts directory moved to the correct location.
2022-09-21 06:06:06 -04:00
Joshua Kimsey
e6af9e379c Improved webui.sh
Added: More commenting to explain what each part is doing
Added: variables to handle the upscaler model URL's to allow for easy changing if needed.

Changed: Order of selection menu to list Streamlit first, since it will be the primary UI going forward.
2022-09-21 00:20:44 -04:00
Joshua Kimsey
48d5f35ff5 Updated webui.sh for StreamLit + Enhancements
Added: Automatic downloads for upscaler models
Added: Prompt to ensure users have placed their SD models in the right spot, with automatic handling for placing them.

Changed: Significantly cleaned up `webui.sh` to have a consistent formatting, as well as follow proper Bash conventions.
Changed: Compartmentalised the code to be easier to add or change features or functions down the road.

Fixed: Potential issue with conda activation from the script, which was solved by using the `#!/bin/bash -i` shebang.
2022-09-20 01:01:44 -04: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
Mr. Gecko
2b1ac8daf7
Remove .bashrc modification from webui.sh (#735) 2022-09-07 04:04:11 +01:00
Mr. Gecko
d04a6ade6f
Add webui.sh for linux people not wanting docker version (#723) 2022-09-07 03:28:46 +01:00