Commit Graph

313 Commits

Author SHA1 Message Date
AUTOMATIC
b186045fee possible fix for empty list of optimizations #10605 2023-05-23 18:02:09 +03:00
Aarni Koskela
df004be2fc Add a couple from __future__ import annotationses for Py3.9 compat 2023-05-21 00:26:16 +03:00
AUTOMATIC
05e6fc9aa9 Merge branch 'ui-selection-for-cross-attention-optimization' into dev 2023-05-20 22:29:51 +03:00
Aarni Koskela
71f4a4afdf Deduplicate webui.py initial-load/reload code 2023-05-19 17:38:42 +03:00
Aarni Koskela
0f28aee9cd Refactor gradio auth 2023-05-19 17:35:51 +03:00
Aarni Koskela
674e80c625 Note pending PR for app_kwargs 2023-05-19 17:35:51 +03:00
Aarni Koskela
8a178e6717 Refactor configure opts_onchange out 2023-05-19 17:35:51 +03:00
Aarni Koskela
8200e0c27b Refactor configure_sigint_handler out 2023-05-19 17:35:51 +03:00
Aarni Koskela
1482c89376 Refactor validate_tls_options out, fix typo (keyfile was there twice) 2023-05-19 17:35:51 +03:00
Aarni Koskela
a0005121ae Simplify CORS middleware configuration 2023-05-19 15:37:13 +03:00
Aarni Koskela
21ee46eea7 Deduplicate default extra network registration 2023-05-19 15:35:16 +03:00
Aarni Koskela
de3abc29ae Fix typo "intialize" 2023-05-19 15:27:23 +03:00
AUTOMATIC
2582a0fd3b make it possible for scripts to add cross attention optimizations
add UI selection for cross attention optimization
2023-05-18 22:48:28 +03:00
AUTOMATIC
ae252cd5bc add --gradio-allowed-path commandline option 2023-05-18 10:37:25 +03:00
AUTOMATIC1111
f6c06e3ed2
Merge pull request #10458 from akx/graceful-stop
Graceful server stopping
2023-05-17 18:45:40 +03:00
AUTOMATIC
f8ca37b903 fix inability to run with --freeze-settings 2023-05-17 17:07:11 +03:00
Aarni Koskela
875990a232 Add option for /_stop route (for graceful shutdown) 2023-05-17 10:15:08 +03:00
Aarni Koskela
85b4f89926 Replace state.need_restart with state.server_command + replace poll loop with signal 2023-05-17 10:15:03 +03:00
AUTOMATIC
87c3aa7389 return wrap_gradio_gpu_call to webui.py for extensions 2023-05-11 10:09:42 +03:00
AUTOMATIC
8aa87c564a add UI to edit defaults
allow setting defaults for elements in extensions' tabs
fix a problem with ESRGAN upscalers disappearing after UI reload
implicit change: HTML element id for train tab from tab_ti to tab_train (will this break things?)
2023-05-10 23:41:08 +03:00
AUTOMATIC
4b854806d9 F401 fixes for ruff 2023-05-10 09:02:23 +03:00
AUTOMATIC
f741a98bac imports cleanup for ruff 2023-05-10 08:43:42 +03:00
AUTOMATIC
762265eab5 autofixes from ruff 2023-05-10 07:52:45 +03:00
AUTOMATIC
2b96a7b694 add links to wiki for filename pattern settings
add extended info for quicksettings setting
2023-05-08 16:46:35 +03:00
AUTOMATIC1111
b3a44385b1
Merge pull request #10025 from acncagua/Upscaler_initialization
Initialize the upscalers
2023-05-08 15:03:59 +03:00
AUTOMATIC
160780283a put all code for /docs in same place and make it work properly with UI reloads 2023-05-08 07:57:17 +03:00
AUTOMATIC1111
064eda930c
Merge pull request #10168 from mouhao/master
Fix missing /docs endpoint in newer gradio versions
2023-05-08 07:47:06 +03:00
mouhao
5427b7128d
Update webui.py
Fix missing /docs endpoint in newer gradio versions
Newer versions of gradio (>=3.27.1) have removed the /docs endpoint by default. This commit adds it back to enable accessing the API documentation.
2023-05-07 20:54:48 +08:00
Acncagua Slt
efe98ca090
Initialize the upscalers
Add modelloader.load_upscalers to def initialize()
2023-05-03 00:44:16 +09:00
AUTOMATIC1111
4b6808f6ed
Merge pull request #9865 from catalpaaa/subpath-support
add subpath support
2023-05-02 11:01:27 +03:00
AUTOMATIC
b1717c0a48 do not load wait for shared.sd_model to load at startup 2023-05-02 09:08:00 +03:00
catalpaaa
9eb5b3e90f
Merge branch 'experimental' into subpath-support 2023-05-01 11:59:21 -07:00
AUTOMATIC
bd9700405a Revert "Merge pull request #7595 from siutin/feature/restore-progress"
This reverts commit 80987c36f9, reversing
changes made to 2e78e65a22.
2023-04-29 22:15:20 +03:00
AUTOMATIC1111
15c4e78b44
Merge branch 'dev' into feature/restore-progress 2023-04-29 22:13:40 +03:00
AUTOMATIC1111
0d32cb2cf5
Merge branch 'dev' into master 2023-04-29 20:29:23 +03:00
AUTOMATIC
a95dc02535 remove unwanted changes from #8789 2023-04-29 19:05:43 +03:00
AUTOMATIC1111
f96e6fbd0c
Merge pull request #8789 from Rucadi/master
Add polling and reload callback for extensions.
2023-04-29 19:03:10 +03:00
AUTOMATIC1111
78d0ee3bba
Merge branch 'dev' into extension-settings-backup 2023-04-29 17:22:24 +03:00
AUTOMATIC1111
e6cbfcfe5b
Merge branch 'dev' into gradio-theme-support 2023-04-29 12:45:43 +03:00
AUTOMATIC
aee6d9bb74 remove unneeded warning filter 2023-04-29 12:39:05 +03:00
AUTOMATIC
ee71eee181 stuff related to torch version change 2023-04-29 12:36:50 +03:00
AUTOMATIC1111
f54cd3f158
Merge branch 'dev' into torch 2023-04-29 11:58:54 +03:00
AUTOMATIC
86bafb625a put asyncio fix into a function to make it more obvious where it starts and ends 2023-04-29 10:21:01 +03:00
AUTOMATIC1111
24dec9c832
Merge pull request #9319 from wk5ovc/patch-1
Fix #9046 /sdapi/v1/txt2img endpoint not working
2023-04-29 10:14:19 +03:00
Garrett Sutula
d1e62b2961 Improve param semantics, 2023-04-27 21:30:19 -04:00
Garrett Sutula
43186ad084 Add tls_verify arg for use with self-signed certs 2023-04-27 20:29:21 -04:00
aniaan
7ea5be3e29 perf(webui): Remove duplicate code 2023-04-26 20:59:55 +08:00
catalpaaa
b2f6e0704e add subpath support 2023-04-25 07:27:24 -07:00
keith
aef42bfec0
Fix #9046 /sdapi/v1/txt2img endpoint not working
**Describe what this pull request is trying to achieve.**

Fix https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9046

**Environment this was tested in**

* OS: Linux
* Browser: chrome
* Graphics card: RTX 3090
2023-04-03 17:05:49 +08:00
Vladimir Mandic
d5063e07e8 update torch 2023-03-30 10:57:54 -04:00