aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md32
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml83
-rw-r--r--.github/ISSUE_TEMPLATE/config.yml5
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md20
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.yml40
-rw-r--r--.github/PULL_REQUEST_TEMPLATE/pull_request_template.md28
-rw-r--r--.github/workflows/on_pull_request.yaml42
-rw-r--r--.gitignore5
-rw-r--r--.pylintrc3
-rw-r--r--CODEOWNERS12
-rw-r--r--README.md51
-rw-r--r--artists.csv8
-rw-r--r--environment-wsl2.yaml10
-rw-r--r--extensions/put extensions here.txt0
-rw-r--r--javascript/aspectRatioOverlay.js55
-rw-r--r--javascript/contextMenus.js177
-rw-r--r--javascript/dragdrop.js5
-rw-r--r--javascript/edit-attention.js46
-rw-r--r--javascript/extensions.js35
-rw-r--r--javascript/generationParams.js33
-rw-r--r--javascript/hints.js22
-rw-r--r--javascript/imageMaskFix.js6
-rw-r--r--javascript/imageParams.js19
-rw-r--r--javascript/imageviewer.js219
-rw-r--r--javascript/localization.js167
-rw-r--r--javascript/notification.js2
-rw-r--r--javascript/progressbar.js85
-rw-r--r--javascript/ui.js60
-rw-r--r--launch.py241
-rw-r--r--localizations/Put localization files here.txt0
-rw-r--r--models/VAE/Put VAE here.txt0
-rw-r--r--models/deepbooru/Put your deepbooru release project folder here.txt0
-rw-r--r--modules/api/api.py320
-rw-r--r--modules/api/models.py242
-rw-r--r--modules/bsrgan_model.py78
-rw-r--r--modules/bsrgan_model_arch.py102
-rw-r--r--modules/codeformer_model.py3
-rw-r--r--modules/deepbooru.py97
-rw-r--r--modules/deepbooru_model.py676
-rw-r--r--modules/devices.py78
-rw-r--r--modules/esrgam_model_arch.py80
-rw-r--r--modules/esrgan_model.py201
-rw-r--r--modules/esrgan_model_arch.py463
-rw-r--r--modules/extensions.py89
-rw-r--r--modules/extras.py273
-rw-r--r--modules/generation_parameters_copypaste.py157
-rw-r--r--modules/gfpgan_model.py4
-rw-r--r--modules/hypernetwork.py88
-rw-r--r--modules/hypernetworks/hypernetwork.py635
-rw-r--r--modules/hypernetworks/ui.py64
-rw-r--r--modules/images.py292
-rw-r--r--modules/img2img.py23
-rw-r--r--modules/interrogate.py33
-rw-r--r--modules/ldsr_model.py2
-rw-r--r--modules/ldsr_model_arch.py14
-rw-r--r--modules/localization.py37
-rw-r--r--modules/lowvram.py38
-rw-r--r--modules/masking.py2
-rw-r--r--modules/modelloader.py3
-rw-r--r--modules/ngrok.py26
-rw-r--r--modules/paths.py4
-rw-r--r--modules/processing.py467
-rw-r--r--modules/prompt_parser.py20
-rw-r--r--modules/realesrgan_model.py2
-rw-r--r--modules/safe.py151
-rw-r--r--modules/script_callbacks.py257
-rw-r--r--modules/script_loading.py34
-rw-r--r--modules/scripts.py379
-rw-r--r--modules/scunet_model.py3
-rw-r--r--modules/scunet_model_arch.py4
-rw-r--r--modules/sd_hijack.py288
-rw-r--r--modules/sd_hijack_checkpoint.py10
-rw-r--r--modules/sd_hijack_clip.py301
-rw-r--r--modules/sd_hijack_inpainting.py338
-rw-r--r--modules/sd_hijack_open_clip.py37
-rw-r--r--modules/sd_hijack_optimizations.py173
-rw-r--r--modules/sd_models.py179
-rw-r--r--modules/sd_samplers.py325
-rw-r--r--modules/sd_vae.py215
-rw-r--r--modules/shared.py296
-rw-r--r--modules/styles.py15
-rw-r--r--modules/swinir_model.py49
-rw-r--r--modules/swinir_model_arch.py2
-rw-r--r--modules/swinir_model_arch_v2.py1017
-rw-r--r--modules/textual_inversion/autocrop.py341
-rw-r--r--modules/textual_inversion/dataset.py169
-rw-r--r--modules/textual_inversion/image_embedding.py220
-rw-r--r--modules/textual_inversion/learn_schedule.py76
-rw-r--r--modules/textual_inversion/preprocess.py239
-rw-r--r--modules/textual_inversion/test_embedding.pngbin0 -> 489220 bytes
-rw-r--r--modules/textual_inversion/textual_inversion.py368
-rw-r--r--modules/textual_inversion/ui.py15
-rw-r--r--modules/txt2img.py17
-rw-r--r--modules/ui.py1108
-rw-r--r--modules/ui_extensions.py304
-rw-r--r--modules/ui_tempdir.py62
-rw-r--r--modules/upscaler.py32
-rw-r--r--requirements.txt10
-rw-r--r--requirements_versions.txt6
-rw-r--r--script.js33
-rw-r--r--scripts/custom_code.py2
-rw-r--r--scripts/img2imgalt.py55
-rw-r--r--scripts/loopback.py4
-rw-r--r--scripts/outpainting_mk_2.py141
-rw-r--r--scripts/poor_mans_outpainting.py4
-rw-r--r--scripts/prompt_matrix.py2
-rw-r--r--scripts/prompts_from_file.py168
-rw-r--r--scripts/sd_upscale.py4
-rw-r--r--scripts/xy_grid.py223
-rw-r--r--style.css303
-rw-r--r--test/__init__.py0
-rw-r--r--test/extras_test.py29
-rw-r--r--test/img2img_test.py59
-rw-r--r--test/server_poll.py19
-rw-r--r--test/test_files/img2img_basic.pngbin0 -> 9932 bytes
-rw-r--r--test/test_files/mask_basic.pngbin0 -> 362 bytes
-rw-r--r--test/txt2img_test.py74
-rw-r--r--test/utils_test.py63
-rw-r--r--textual_inversion_templates/hypernetwork.txt27
-rw-r--r--textual_inversion_templates/none.txt1
-rw-r--r--txt2img_Screenshot.pngbin539132 -> 337094 bytes
-rw-r--r--v1-inference.yaml70
-rw-r--r--webui-user.sh3
-rw-r--r--webui.bat14
-rw-r--r--webui.py185
-rwxr-xr-xwebui.sh27
126 files changed, 12230 insertions, 2444 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644