stable-diffusion-webui/scripts
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
..
pipelines/stable_diffusion Add periodic checkpointing 2022-09-23 15:29:08 +01:00
__init__.py Added config.toml file again. 2022-09-26 06:53:14 -07:00
bridgeData_template.py Stable Horde bridge (#1204) 2022-10-02 18:22:27 +01:00
clip_interrogator.py Img2txt dependencies and necessary files. (#1354) 2022-09-28 12:37:15 -07:00
diffusers_textual_inversion_2.py Fix --config args 2022-09-26 23:58:41 -04:00
home.py License header 2022-09-26 14:02:48 +01:00
img2img.py Changed the default output folder to be shorter. 2022-10-02 09:46:30 -07:00
img2txt.py Merge remote-tracking branch 'origin/dev' into dev 2022-10-01 19:19:04 -07:00
imglab.py Changed the default streamlit import for hydralit as we will be using hydralit as replacement for the default streamlit library, hydralit provides better control over css as well as having a lot more options. (#1352) 2022-09-28 09:33:54 -07:00
logger.py Stable Horde bridge (#1204) 2022-10-02 18:22:27 +01:00
merge.py Added implementation of the Concepts Library tab made by @Qualzz. 2022-09-20 21:06:00 -07:00
modeldownload.py License header 2022-09-26 14:02:48 +01:00
ModelManager.py Fixed typo on the model manager 2022-09-30 02:04:32 -07:00
perlin.py when in outcrop mode, mask added regions and fill in with voroni noise for better outpainting 2022-09-09 10:13:38 -04:00
relauncher.py Stable Horde bridge (#1204) 2022-10-02 18:22:27 +01:00
sd_concept_library.py gallery_v1 2022-10-01 20:14:32 +02:00
sd_concepts_library_downloader.py License header 2022-09-26 14:02:48 +01:00
sd_utils.py Changed the default output folder to be shorter. 2022-10-02 09:46:30 -07:00
Settings.py Improved the Settings page layout and code structure. 2022-10-02 06:59:29 -07:00
stable_diffusion_pipeline.py Moved the model to server_state instead of session_state so it can be shared between multiple sessions, tabs and users as long as the streamlit server is running. 2022-09-25 00:03:05 -07:00
textual_inversion.py Changed the default streamlit import for hydralit as we will be using hydralit as replacement for the default streamlit library, hydralit provides better control over css as well as having a lot more options. (#1352) 2022-09-28 09:33:54 -07:00
txt2img.py Changed the default output folder to be shorter. 2022-10-02 09:46:30 -07:00
txt2vid.py Added LDSR to the UI. 2022-10-01 20:18:09 -07:00
webui_streamlit.py Removed some left over comments on webui_streamlit.py 2022-09-30 02:05:16 -07:00
webui.py Stable Horde bridge (#1204) 2022-10-02 18:22:27 +01:00