7774 Commits

Author SHA1 Message Date
Russell Richardson
140f5ad4c3
Allow passing firstpass_image to txt2img API
This change allows passing in a base64 encoded image string to the
`/sdapi/v1/txt2img` endpoint via the `firstpass_image` parameter.

Can be useful when applications utilizing the API generate an initial
image and then need that image upscaled using HiRes Fix - by replaying
the request alongside the `firstpass_image` parameter with the base64
image returned by the original request, it bypasses the need to
regenerate the original image since it has already been passed in.

At least, that seems to be the original intent of this parameter (and
works great with this change).
2025-03-12 08:16:23 -04:00
w-e-w
374bb6cc38
Python 3.9 annotation compatibility () 2025-03-04 11:11:26 -05:00
gutris1
e7edad6fe9
Small fix ()
* small fix, prevent annoying error log when registering keydown esc from user custom js

* Update script.js

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>

---------

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2025-03-04 11:10:18 -05:00
w-e-w
d8688def65
Merge pull request from Haoming02/uv-hook
Support uv Package Manager
2025-02-28 23:24:10 +08:00
w-e-w
435b1df2db
remove assert, original run with original args 2025-03-01 00:17:49 +09:00
w-e-w
7fd7fc67f7
add -I to uv BAD_FLAGS 2025-02-28 23:53:11 +09:00
w-e-w
9d1accfea0
fallback to pip if uv failes 2025-02-28 23:53:11 +09:00
w-e-w
c59a2badd2
auto install uv 2025-02-28 23:53:11 +09:00
Haoming
9f670bc7e8 uv hook 2025-02-28 19:25:35 +08:00
w-e-w
afbd3da2fa
Detect CMP cards ()
Co-authored-by: Serhio <22981979+carbofos@users.noreply.github.com>
2025-02-18 08:59:44 -05:00
w-e-w
32595360f2
fix old hash digits () 2025-02-15 10:49:48 -05:00
w-e-w
8c7bc08f60
Old hash from cache ()
* use not equal when comparing mtime

* cache partial hash

aka old hash

Co-Authored-By: npc-riddlah <84955385+npc-riddlah@users.noreply.github.com>

---------

Co-authored-by: npc-riddlah <84955385+npc-riddlah@users.noreply.github.com>
2025-02-10 02:14:32 -05:00
w-e-w
57e15ec9b5
Blackwell compatibility (Windows only) () 2025-01-30 12:36:02 -05:00
w-e-w
021154d8b1
Merge pull request from gutris1/master
Fix: changed settings overflow, display up to 5 lines with scroll bar
2024-12-28 21:10:17 +09:00
w-e-w
b82ba9b0be setting change scroll when over 5 line 2024-12-28 17:25:29 +09:00
w-e-w
45493949cd Revert
This reverts commit 8c6c9736145fe0874db6ce630b4919e4d4146c91.

Revert "Update settings.js"

This reverts commit 4fa673a68af3a447b59dd82af74c98e93ef1d60a.

Revert "Update style.css"

This reverts commit a0379187482e68af0a1bfa2edeada1e177a19883.
2024-12-28 17:25:29 +09:00
gutris1
8c6c973614
Update ui_settings.py 2024-12-27 20:36:26 +07:00
gutris1
a037918748
Update style.css 2024-12-27 20:35:06 +07:00
gutris1
4fa673a68a
Update settings.js 2024-12-27 20:33:55 +07:00
w-e-w
813c3912fc
open API docs in new tab () 2024-12-26 22:19:43 -05:00
w-e-w
078d04ef23
ruff <path> is deprecated. Use ruff check <path> () 2024-12-26 20:40:15 -05:00
w-e-w
1a773bf2c8
Merge pull request from Neokmi/master
Fix  Codeformer and gfpgan extension , Inconsistent overlay layer types when visibility value is less than 1
2024-12-26 06:33:04 +09:00
w-e-w
f113474a6e lint 2024-12-26 06:26:47 +09:00
klx
6577e063d1
Update postprocessing_gfpgan.py
Fix  gfpgan extension , Inconsistent overlay layer types when visibility value is less than 1
2024-12-26 02:16:05 +08:00
klx
7953c570d9
Update postprocessing_codeformer.py
Fix  Codeformer extension , Inconsistent overlay layer types when visibility value is less than 1
2024-12-26 02:14:49 +08:00
w-e-w
f25c3fc9cb
fix sd_vae_explanation () 2024-12-24 15:43:55 -05:00
w-e-w
fc0952abb9
Merge pull request from Sanchows/removed-unused-import-modules-errors
removed unnecessary import 'modules.errors'
2024-12-24 22:58:43 +09:00
Alexander Sachenko
b414c62ce4
removed unnecessary import modules.errors 2024-12-24 15:45:10 +03:00
w-e-w
04903af798
Merge pull request from Haoming02/ext-updt-parallel
Check for Extension Updates in Parallel
2024-12-18 03:21:48 +09:00
w-e-w
e8c3b1f2a0
Merge pull request from Haoming02/bracket-checker-order
[Bracket Checker] Also check for the order of brackets
2024-12-18 02:37:30 +09:00
Haoming
8bf30e3c42 revert IIFE 2024-12-18 01:02:40 +08:00
Haoming
fbc51fa210 skip escaped 2024-12-16 09:47:38 +08:00
Haoming
7025a2c4a5 check-for-order 2024-12-12 16:08:15 +08:00
w-e-w
0120768f63
Merge pull request from Haoming02/dropdown4format
Use gr.Dropdown for Image Formats
2024-11-28 17:39:12 +09:00
w-e-w
b425b97ad6 improve img fromat description 2024-11-28 17:14:03 +09:00
w-e-w
539ea3982d use DropdownEditable
use DropdownEditable so user can input other formats if they require it
make the default png the first on the list
2024-11-28 14:10:44 +09:00
Haoming
65bd61e87c format-dropdown 2024-11-27 10:42:50 +08:00
w-e-w
023454b49e
fix passing of literal backslash () 2024-11-20 21:33:59 -05:00
w-e-w
cd869bb7a3
fix prompt-bracket-checker miscounting of literal tokens () 2024-11-20 12:29:41 -05:00
w-e-w
957888a100
Merge pull request from AUTOMATIC1111/fix/safetensors-bump
Bump safetensors to v0.4.5
2024-11-19 14:41:37 +09:00
catboxanon
d2c9efb1f3 Bump safetensors to v0.4.5
Resolves 
2024-11-18 20:48:36 -05:00
w-e-w
7799859f9f
Merge pull request from AUTOMATIC1111/fix/api-webp-lossless
Honor lossless WebP compression option in API
2024-11-02 01:28:12 +09:00
catboxanon
ca3bedbd02 Honor lossless webp compression option in API 2024-11-01 11:32:52 -04:00
w-e-w
1b16c62608
use shared.hf_endpoint () 2024-10-30 13:01:32 -04:00
w-e-w
91de919451
Warn if WebUI is installed under a dot directory () 2024-10-30 09:34:37 -04:00
w-e-w
aa52408aab
Merge pull request from AUTOMATIC1111/fix/vweighting
Fix config for SDXL v-pred
2024-10-30 09:51:41 +09:00
catboxanon
e6f36d9cdc
sd_xl_v.yaml: use_checkpoint = False
In accordance with https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15803
2024-10-29 13:27:32 -04:00
w-e-w
28323cf8ee
XYZ option to disable grid () 2024-10-29 13:18:38 -04:00
w-e-w
533c7b7b7f
Fix Default system None filter logic () 2024-10-29 13:13:16 -04:00
catboxanon
ac28cad998
Fix weighting config for SDXL v-pred
Fixes a small oversight I made.
2024-10-29 11:49:09 -04:00