Commit Graph

350 Commits

Author SHA1 Message Date
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
siutin
dbca512154 add an internal API for obtaining current task id 2023-03-30 17:20:09 +08:00
space-nuko
563d048780 Squelch warning if no config restore 2023-03-29 19:22:45 -05:00
space-nuko
f3320b802c Various UI fixes in config state tab 2023-03-29 18:35:25 -05:00
space-nuko
ad5afcaae0 Save/restore working webui/extension configs 2023-03-29 16:55:33 -05:00
AUTOMATIC
5cf3822e46 Revert "Merge pull request #8651 from vladmandic/flicker"
This reverts commit 8402682118, reversing
changes made to e8bbc344c3.
2023-03-27 08:18:28 +03:00
space-nuko
c9647c8d23 Support Gradio's theme API 2023-03-25 16:11:41 -04:00
AUTOMATIC1111
d9b9bf78b3
Merge pull request #8508 from vladmandic/lightning
allow usage of latest pytorch_lighning
2023-03-25 14:03:59 +03:00
AUTOMATIC1111
8402682118
Merge pull request #8651 from vladmandic/flicker
disable gradio css transitions
2023-03-25 11:05:50 +03:00
AUTOMATIC
af2db25c84 enable queue by default
more stylistic changes
2023-03-25 09:00:37 +03:00
Vladimir Mandic
250193ee93
disable gradio css transitions 2023-03-15 10:14:40 -04:00
Vladimir Mandic
f2ed6295b9
make it module specific 2023-03-14 07:46:09 -04:00
AUTOMATIC
dfeee786f9 display correct timings after restarting UI 2023-03-12 21:25:22 +03:00
Vladimir Mandic
fc4d593b4e
fix import 2023-03-12 08:51:12 -04:00
Vladimir Mandic
29ce0bf4f2
allow usage of latest fastapi 2023-03-11 12:01:08 -05:00
Vladimir Mandic
fb088bfb64
all usage of newer pytorch_lighning 2023-03-11 11:13:21 -05:00
AUTOMATIC
52dcf0f0c7 record startup time 2023-03-11 16:27:58 +03:00
Ju1-js
fc3063d9b9
Remove unnecessary line 2023-03-01 18:25:23 -08:00
Ju1-js
7990ed92be
Slash was facing the wrong way 2023-02-28 22:05:47 -08:00
Ju1-js
1e30e4d9eb Gradio auth logic fix - Handle empty/newlines
When the massive one-liner was split into multiple lines, it lost the ability to handle newlines. This removes empty strings & newline characters from the logins. It also closes the file so it's more robust if the garbage collection function is ever changed.
2023-02-28 15:55:12 -08:00
AUTOMATIC
d84f3cf7a7 split #7300 into multiple lines 2023-02-19 13:11:48 +03:00
AUTOMATIC1111
c3d5a6ed37
Merge pull request #7300 from Ju1-js/master
Gradio Auth - Read from External File
2023-02-19 13:02:05 +03:00
AUTOMATIC1111
2a4f893570
Merge pull request #7727 from missionfloyd/face-restore-setting
Fix face restorers setting
2023-02-19 10:14:42 +03:00
Vladimir Mandic
9c7e6d5bba
store and print real torch version 2023-02-18 11:31:02 -05:00
missionfloyd
bf9b1d64a3 Fix face restorers setting 2023-02-10 15:27:08 -07:00
rucadi
eb5eb8aa11 Add a callback called before reloading the server 2023-02-02 20:10:47 +01:00
rucadi
3662a274e2 Add polling callback 2023-02-02 20:10:47 +01:00
AUTOMATIC
ee9fdf7f62 Add --skip-version-check to disable messages asking users to upgrade torch. 2023-01-30 14:56:28 +03:00
AUTOMATIC
1d8e06d542 add checkpoints tab for extra networks UI 2023-01-28 22:52:27 +03:00
Ju1-js
dc25a31d1a Gradio Auth Read from External File
Usage: `--gradio-auth-path {PATH}`
It adds the credentials to the already existing `--gradio-auth` credentials. It can also handle line breaks.
The file should look like:
`{u1}:{p1},{u2}:{p2}`
or
```
{u1}:{p1},
{u2}:{p2}
```
Will gradio handle duplicate credentials if it happens?
2023-01-27 22:43:10 -08:00
Max Audron
6b3981c068 clean up unused script_path imports 2023-01-27 14:44:34 +01:00
AUTOMATIC
865af20d8a suppress A matching Triton is not available message
you can all now stop worrying about it
2023-01-23 21:28:59 +03:00
AUTOMATIC
7ff1ef77dd add a message about new torch/xformers version and a way to upgrade by specifying a commandline flag 2023-01-23 17:17:31 +03:00
AUTOMATIC
68303c96e5 split oversize extras.py to postprocessing.py 2023-01-22 15:38:39 +03:00
AUTOMATIC
63b824376c add --gradio-queue option to enable gradio queue 2023-01-21 18:47:54 +03:00
AUTOMATIC
855b9e3d1c Lora support!
update readme to reflect some recent changes
2023-01-21 16:15:53 +03:00
AUTOMATIC
40ff6db532 extra networks UI
rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
2023-01-21 08:36:07 +03:00
AUTOMATIC
26fd444811 bump gradio to 3.16.2
change style selection to multiselect dropdown
2023-01-18 13:59:45 +03:00
AUTOMATIC
d8b90ac121 big rework of progressbar/preview system to allow multiple users to prompts at the same time and do not get previews of each other 2023-01-15 18:51:04 +03:00
AUTOMATIC
6eb72fd13f bump gradio to 3.16.1 2023-01-14 13:38:10 +03:00
AUTOMATIC
a95f135308 change hash to sha256 2023-01-14 09:56:59 +03:00
AUTOMATIC
1fbb6f9ebe make a dropdown for prompt template selection 2023-01-09 23:35:40 +03:00
brkirch
5e6566324b Always end version number with a digit 2023-01-06 07:06:26 -05:00
AUTOMATIC
65ed4421e6 add callback for when the script is unloaded 2023-01-06 13:55:50 +03:00
AUTOMATIC1111
85fa4eacea
Merge pull request #6402 from brkirch/work-with-nightly-local-builds
Add support for using PyTorch nightly and local builds
2023-01-06 07:51:45 +03:00
brkirch
8111b5569d Add support for PyTorch nightly and local builds 2023-01-05 20:54:52 -05:00
AUTOMATIC1111
b7deea47ee
Merge pull request #5774 from AUTOMATIC1111/camenduru-patch-1
allow_credentials and allow_headers for api
2023-01-04 19:26:49 +03:00
AUTOMATIC
02d7abf514 helpful error message when trying to load 2.0 without config
failing to load model weights from settings won't break generation for currently loaded model anymore
2023-01-04 12:35:07 +03:00
AUTOMATIC
2d5a5076bb Make it so that upscalers are not repeated when restarting UI. 2023-01-03 18:38:21 +03:00
AUTOMATIC1111
fac92610d2
Merge pull request #5753 from calvinballing/master
Fix various typos
2022-12-24 09:58:28 +03:00
Akiba
35e1017e3e
fix: xformers 2022-12-16 20:43:09 +08:00
camenduru
9fd457e21d
allow_credentials and allow_headers for api
from https://fastapi.tiangolo.com/tutorial/cors/
2022-12-15 21:57:48 +03:00
Jim Hays
c0355caefe Fix various typos 2022-12-14 21:01:32 -05:00
Pi Esposito
fcf372e5d0
set default to avoid breaking stuff 2022-12-04 14:13:31 -03:00
Pi Esposito
12ade469c8
add queuing by default to avoid timeout on client side when share=True 2022-12-04 12:33:15 -03:00
AUTOMATIC
b6e5edd746 add built-in extension system
add support for adding upscalers in extensions
move LDSR, ScuNET and SwinIR to built-in extensions
2022-12-03 18:06:33 +03:00
AUTOMATIC
0b5dcb3d7c fix an error that happens when you type into prompt while switching model, put queue stuff into separate file 2022-11-28 09:00:10 +03:00
AUTOMATIC1111
9e78d2c419
Merge pull request #4416 from Keavon/cors-regex
Add CORS-allow policy launch argument using regex
2022-11-27 18:50:12 +03:00
AUTOMATIC
b006382784 serve images from where they are saved instead of a temporary directory
add an option to choose a different temporary directory in the UI
add an option to cleanup the selected temporary directory at startup
2022-11-27 11:52:53 +03:00
AUTOMATIC
ce6911158b Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
Keavon Chambers
2f90496b19
Merge branch 'master' into cors-regex 2022-11-19 10:34:31 -08:00
AUTOMATIC1111
ccd73fc186
Merge pull request #4717 from papuSpartan/security
Add --server-name to the list of arguments considered insecure
2022-11-19 15:31:09 +03:00
Muhammad Rizqi Nur
0663706d44 Option to use selected VAE as default fallback instead of primary option 2022-11-19 11:49:06 +07:00
papuSpartan
3405acc6a4 Give --server-name priority over --listen and add check for --server-name in addition to --share and --listen 2022-11-14 14:07:13 -06:00