Commit Graph

184 Commits

Author SHA1 Message Date
AUTOMATIC
7acfaca05a update lists of models after merging them in checkpoints tab
support saving as half
2022-09-29 00:59:44 +03:00
AUTOMATIC
d64b451681 added support for automatically installing latest k-diffusion
added eta parameter to parameters output for generated images
split eta settings into ancestral and ddim (because they have different default values)
2022-09-28 18:09:06 +03:00
AUTOMATIC
aea5b2510e save parameters for images when using the Save button. 2022-09-28 17:05:23 +03:00
C43H66N12O12S2
047ca73388
Update shared.py 2022-09-28 05:11:40 +03:00
d8ahazard
5756d517a6 Merge remote-tracking branch 'upstream/master' into ModelLoader 2022-09-27 11:02:41 -05:00
d8ahazard
11875f5863 Use model loader with stable-diffusion too.
Hook the model loader into the SD_models file.
Add default url/download if checkpoint is not found.
Add matching stablediffusion-models-path argument.
Add message that --ckpt-dir will be removed in the future, but have it pipe to stablediffusion-models-path for now.
Update help strings for models-path args so they're more or less uniform.
Move sd_model "setup" call to webUI with the others.
Ensure "cleanup_models" method moves existing models to the new locations, including SD, and that we aren't deleting folders that still have stuff in them.
2022-09-27 11:01:13 -05:00
Dave Bauman
c055132606
Fix downssample typo in options
Updated `downssample` to `down-sample`, matching spelling in other places.
2022-09-27 09:50:06 -04:00
DepFA
61585e5778 rename DDIM eta label 2022-09-27 09:30:45 +03:00
DepFA
6b78833e33 Add extra kdiffusion parameters 2022-09-27 09:30:45 +03:00
DepFA
619668ccfe Add options for exposed ddim sampler params
ddim_eta & ddim_discretize
2022-09-27 09:30:45 +03:00
DepFA
16e7ac09df job_timestamp initialization change 2022-09-27 08:51:59 +03:00
d8ahazard
740070ea9c Re-implement universal model loading 2022-09-26 09:29:50 -05:00
Eyrie
1877a3767e Changed job_id to timestamp 2022-09-25 17:11:07 +03:00
Eyrie
4c3d4aad60 fix formatting 2022-09-25 17:11:07 +03:00
Eyrie
e13912dfde fix formatting 2022-09-25 17:11:07 +03:00
Eyrie
40166dbf08 Added job_id pattern for directories 2022-09-25 17:11:07 +03:00
EyeDeck
b5d705e263 Disable 'batch img2img' when launched with --hide-ui-dir-config
Prevent writing to arbitrary directories, as usual
2022-09-24 19:06:36 +03:00
RnDMonkey
ed8b8b3b8c
Fix to XY_Grid script console progress bar and other progress bar improvements (#890)
Fix to XY_Grid script console progress bar and other progress bar improvements #890
2022-09-24 08:09:59 +03:00
AUTOMATIC
1a0353675d Option to use advanced upscalers with normal img2img 2022-09-23 17:37:47 +03:00
AUTOMATIC
6fa20d51dc prevent saving settings with bogus values 2022-09-23 17:27:30 +03:00
AUTOMATIC1111
79e7c39298
Merge pull request #847 from rewbs/rewbs-optionally-save-before-color-correction
Add option to save before color correction. This helps with some posterisation issues in img2img loopback.
2022-09-23 14:41:06 +03:00
AUTOMATIC
d4205e66fa gfpgan: just download the damn model 2022-09-23 10:26:00 +03:00
AUTOMATIC
7ef361dfc3 add warning for when user's settings are broken 2022-09-23 09:15:00 +03:00
Robin Fernandes
03738668c0 Merge from master 2022-09-23 00:54:32 +00:00
AUTOMATIC
77cf346d93 settings categories split to columns, remade categories 2022-09-22 21:32:44 +03:00
AUTOMATIC
75b90a5e40 emergency fix for the settings screen breaking the program 2022-09-22 20:41:22 +03:00
DepFA
dec7584903 Add Section keys and headers to settings 2022-09-22 20:26:21 +03:00
Prof-Cheese
ae32b8a53f Fixed directory name generation process.
'Max prompt words' has been added to config and modified to be used in the directory name generation process.
2022-09-22 20:15:37 +03:00
Johan Aires Rastén
a213d3a21c Add option to always log generation info 2022-09-22 16:34:54 +03:00
Robin Fernandes
25eb1e3d90 Add option to save before color correction. Add suffix param when saving files, used for special saves without color correction and face restoration. 2022-09-22 20:54:50 +10:00
AUTOMATIC
91bfc71261 A big rework, just what you were secretly hoping for!
SD upscale moved to scripts
Batch processing script removed
Batch processing added to main img2img and now works with scripts
img2img page UI reworked to use tabs
2022-09-22 12:11:48 +03:00
AUTOMATIC
3eaae8ae65 reworking #775 2022-09-22 07:59:27 +03:00
d8ahazard
c214c428bc Basic settings for realesrgan model selection.
I don't like that you have to restart the app, but it works.
2022-09-22 07:21:54 +03:00
d8ahazard
1a1f7e85c7
Add LDSR and "GoLatent?" Upscaling (#763)
* Add LDSR Upscaling
2022-09-21 16:06:37 +03:00
AUTOMATIC
4b26b50df0 Merge remote-tracking branch 'origin/master' 2022-09-21 09:49:07 +03:00
AUTOMATIC
254da5d127 --opt-split-attention now on by default for torch.cuda, off for others (cpu and MPS; because the option does not work there according to reports) 2022-09-21 09:49:02 +03:00
C43H66N12O12S2
29d6084f47 disallow no tiling as we don't support it 2022-09-21 09:09:39 +03:00
C43H66N12O12S2
403bb02948 breakout tile options 2022-09-21 09:09:39 +03:00
C43H66N12O12S2
55dc847c48 Update shared.py 2022-09-20 23:31:06 +03:00
AUTOMATIC
19a75d38d7 added --use-textbox-seed option to make long seeds possible from web ui 2022-09-20 20:10:01 +03:00
AUTOMATIC
06cd206107 Enable neural network upscalers for highres. fix 2022-09-20 19:32:26 +03:00
olivier
06e076e48a Keep legacy behaviour wrt reuse of filename during batch processes 2022-09-20 07:44:19 +03:00
olivier
5fe2c75da0 Support reusing filename stems during batch processing in Extras tab 2022-09-20 07:44:19 +03:00
C43H66N12O12S2
53651696dc avoid exception if empty 2022-09-19 22:49:53 +03:00
C43H66N12O12S2
acbe44b835 automatically match any version gfpgan 2022-09-19 22:49:53 +03:00
AUTOMATIC
028fc25f28 fix the issue with incorrect js options on page load
add a setting for lightbox max size images
use setting for lightbox max size images late to let user change it and see results
2022-09-19 17:16:04 +03:00
berkybear
1878994f9b fix grammer 2022-09-19 00:40:30 +03:00
berkybear
21244f50c4 fix some typos and remove unused import 2022-09-19 00:40:30 +03:00
AUTOMATIC
cfb6cc8ce5 replace argparse.BooleanOptionalAction with 'store_true' 2022-09-18 23:06:49 +03:00
Connum
f3965cce01 added command line argument --autolaunch to open the webui URL in the system's default browser upon launch (implements #274) 2022-09-18 22:39:34 +03:00
AUTOMATIC
f3d83fd68a add read access to settings for jsavascript
add an option to disable lightbox modal
2022-09-18 22:25:18 +03:00
AUTOMATIC
cae5c5fa8d Making opt split attention the default. Are you upset about this? Sorry. 2022-09-18 20:55:46 +03:00
AUTOMATIC
3f29aa791b altered progressbar to not rely on first progress request coming after the job has started; may help with broken progressbar some people say they have 2022-09-18 11:14:42 +03:00
AUTOMATIC
247f58a5e7 add support for switching model checkpoints at runtime 2022-09-17 12:05:18 +03:00
EyeDeck
ed6787ca2f Add VRAM monitoring 2022-09-17 09:15:16 +03:00
AUTOMATIC
e49b1c5d73 an option to do exactly the amount of specified steps in img2img 2022-09-16 13:38:02 +03:00
AUTOMATIC
83bce1a604 Merge branch 'batch-seed-attempt' 2022-09-16 09:48:46 +03:00
AUTOMATIC
87e8b9a2ab prevent replacing torch_randn globally (instead replacing k_diffusion.sampling.torch) and add a setting to disable this all 2022-09-16 09:47:03 +03:00
AUTOMATIC
d7f7378828 quantization off by default 2022-09-15 14:55:38 +03:00
C43H66N12O12S2
829d7150bc Add setting for quantization 2022-09-15 14:54:52 +03:00
Steve Eberhardt
4a626f6ea6 Corrected typos in shared.py and README 2022-09-15 07:38:17 +03:00
NebulousDev
5dde56afe3 Fixed typo in text attention setting 2022-09-14 18:41:40 +03:00
AUTOMATIC
9f267af3f7 added a second style field
added the ability to use {prompt} in styles
added a button to apply style to textbox
rearranged top row for UI
2022-09-14 17:56:21 +03:00
AUTOMATIC
4c51752464 option name updates for #432 2022-09-14 11:31:49 +03:00
jtkelm2
74c5f7974c Added selected image saving 2022-09-14 11:27:41 +03:00
camenduru
f07d789b79 added cmd arg to load custom styles file 2022-09-14 08:48:42 +03:00
AUTOMATIC
950064ee96 img2img_color_correction off by default for #394 2022-09-13 20:00:19 +03:00
AUTOMATIC
c84e333622 color correction option for all img2img modes #363 2022-09-13 12:51:57 +03:00
AUTOMATIC
823cf946ec Embeddings directory can't be found if running webui.py from another directory (+potential fix) #374 2022-09-13 09:42:51 +03:00
GRMrGecko
fc18e2d483 Adds NSFW content filter option 2022-09-12 19:15:35 -05:00
AUTOMATIC
db8f8dd972 Ability to save images into a folder named after the date they were created #353 2022-09-13 00:44:08 +03:00
AUTOMATIC
3de44fc580 Include the model name (or the SHA256 of the file) in the metadata #271 2022-09-12 20:47:46 +03:00
AUTOMATIC
c7e0e28ccd changes for #294 2022-09-12 20:09:32 +03:00
AUTOMATIC1111
11e03b9abd
Merge pull request #294 from EliasOenal/master
Fixes for mps/Metal: use of seeds, img2img, CodeFormer
2022-09-12 19:58:06 +03:00
AUTOMATIC
843b2b64fc Instance of CUDA out of memory on a low-res batch, even with --opt-split-attention-v1 (found cause) #255 2022-09-12 18:40:06 +03:00
AUTOMATIC
40f4d3ed98 [FEATURE] Save both images, (Skip_Save optional). #265 2022-09-12 17:47:36 +03:00
Elias Oenal
b7f95869b4 Refactored Metal/mps fixes. 2022-09-12 16:32:44 +02:00
AUTOMATIC
a5a760a7d4 rename --channelslast to --opt-channelslast to be in line with other torch optimizations 2022-09-12 16:43:11 +03:00
C43H66N12O12S2
8c995be44d
Add cmd option for channels last 2022-09-12 16:27:23 +03:00
AUTOMATIC1111
264d255919
Merge pull request #329 from EyeDeck/master
Add --gradio-auth command line argument to enable Gradio authentication
2022-09-12 15:45:11 +03:00
AUTOMATIC
a4416f3585 [BUG] Not Working As Intended - create a directory with name derived from the prompt #306 2022-09-12 15:41:30 +03:00
EyeDeck
fc49844aa8
Merge branch 'master' into master 2022-09-12 08:19:14 -04:00
AUTOMATIC
372a2c3e2e [Feature Request] Please add "--share-password" for Gradio server security #315 2022-09-12 15:10:05 +03:00
EyeDeck
e3646e79aa Add --auth command line argument to enable Gradio authentication
Allows you to pass in Gradio authentication like:
`--auth username:password`
Supports multiple sets of credentials by comma-delimiting, like:
`--auth user1:pass1,user2:pass3`...
2022-09-12 08:08:41 -04:00
AUTOMATIC1111
c094f00e10
Merge branch 'master' into master 2022-09-12 13:23:58 +03:00
AUTOMATIC
ddc86f2edb --gradio-debug for collab users 2022-09-12 12:40:55 +03:00
AUTOMATIC
e68484500f Merge remote-tracking branch 'origin/master' 2022-09-12 11:55:35 +03:00
AUTOMATIC
9bb20be090 memory optimization for CLIP interrogator
changed default cfg_scale to a higher value
2022-09-12 11:55:27 +03:00
Stephan Reinwald
655ef8e8cb Added cmd arg to load custom ui settings file 2022-09-12 10:20:38 +03:00
AUTOMATIC
ab0a79cdf4 keep interrogate models not in vram by default 2022-09-12 09:00:11 +03:00
EyeDeck
e05e46aa3f
Merge branch 'master' into master 2022-09-11 18:15:30 -04:00
Michoko
4535239d8a Add a samples filename format option
Adds a "samples filename format" option in the settings. This format can be defined by tags for maximum flexibility and scalability.
2022-09-11 23:25:20 +03:00
EyeDeck
29a2933e23 Add --hide-ui-dir-config command line flag
Adds `--hide-ui-dir-config` flag to disable editing directory configs from the web UI. This can be set to prevent users from setting the directory to somewhere they shouldn't, for public (or semi-public) interfaces.

Directories are still read from config.json, so the server admin can still set them in the web UI and then relaunch with the hide flag, or edit the config manually.

Also:
- fix OptionInfo `component_args` keyword argument not being read if `component` isn't also set
- ensure that hidden settings aren't still read from the web UI (otherwise they could still be changed by tampering with the interface)
2022-09-11 16:00:42 -04:00
AUTOMATIC
f194457229 CLIP interrogator 2022-09-11 18:48:36 +03:00
Abdullah Barhoum
b5d1af11b7 Modular device management 2022-09-11 09:49:43 +03:00
AUTOMATIC
06fadd2dc5 added --opt-split-attention-v1 2022-09-11 00:29:10 +03:00
AUTOMATIC
43bdbe934a enabled negative prompt by default
fixed broken empty directory when prompt does not start withl etter
2022-09-10 15:41:29 +03:00
AUTOMATIC
decbbe81f5 separated options for sample and grid dir saving for #222 2022-09-10 13:36:16 +03:00
AUTOMATIC
955f644ce1 split settings into three columns
added a different workaround for gradio mask bug with info in UI
switched to newer gradio version
2022-09-10 11:10:00 +03:00
AUTOMATIC
26ce47eb6c [Feature Request] Ability to pass a custom ui-config.json via command line args #212 2022-09-10 08:18:54 +03:00