Emmanuel Ferdman
d557aef9d8
Resolve warnings of datetime library ( #2874 )
2025-05-23 02:35:41 -04:00
drhead
0b26121335
re-add line to update sampling step ( #2853 )
2025-05-03 14:39:03 -04:00
drhead
d3573962bd
Add separate cuda stream for live preview VAE ( #2844 )
2025-05-01 13:16:54 -04:00
DenOfEquity
8dd92501e6
Add SDXL refiner model ( #2686 )
...
add sdxlrefiner
adjust some Settings
custom CLIP-G support
2025-02-25 10:49:47 +00:00
catboxanon
c4b6fccefc
Add native "Stealth" infotext support ( #2684 )
2025-02-23 15:03:50 -05:00
Josuè
ed0dc79a15
reactivated the old hashing that work for civitai ( #1647 )
...
* reactivated the old hashing that work for civitai
* flush print
---------
Co-authored-by: DenOfEquity <166248528+DenOfEquity@users.noreply.github.com >
2025-02-17 02:21:55 +00:00
DenOfEquity
ade69764a1
add .safetensors to known extensions for DAT and ESRGAN ( #2651 )
2025-02-13 16:16:18 +00:00
DenOfEquity
21c907ef87
couple of UI tweaks ( #2626 )
...
* sensible height for PNGInfo
* use Gradio Image in Extras tab to preserve infotext when loading
2025-02-06 14:08:11 +00:00
parsee-mizuhashi
b835f24a4d
Remove license-infringing / potentially malicious / obfuscated code ( #2151 )
2025-01-13 17:34:16 -05:00
Haoming
37301b2219
add scribble alpha to inpaint mask ( #2461 )
2024-12-16 11:14:42 +00:00
Haoming
9fbba69297
Fix LivePreview not working with fp8 UNet ( #2412 )
...
* fix dtype
2024-12-05 11:33:35 +00:00
DenOfEquity
bae1bba891
avoid forcing API to send hr_additional_modules ( #2406 )
2024-12-02 22:15:59 +00:00
DenOfEquity
d1cfcef933
Setting to hide toprow on specified tabs ( #2402 )
...
an option for any tab combination, rather than hardcoded for Spaces only
2024-12-02 21:39:21 +00:00
Panchovix
a332f7cca3
Revert "Fix CORS middleware not working with HTTPS origin ( #2374 )" ( #2381 )
...
This reverts commit e39f12a32e .
2024-11-27 01:18:59 -03:00
new-sankaku
e39f12a32e
Fix CORS middleware not working with HTTPS origin ( #2374 )
2024-11-25 16:43:43 -03:00
DenOfEquity
c9850c8436
Revert "Add source_text_component to Results paste buttons ( #2349 )" ( #2367 )
...
This reverts commit 1f140749d4 .
2024-11-23 17:35:49 +00:00
Will Cole
ad983c99d9
Don't duplicate samplers when adding ( #2354 )
...
fixes #2351 and #1791
2024-11-22 10:00:42 +00:00
Will Cole
1f140749d4
Add source_text_component to Results paste buttons ( #2349 )
...
* Add source_text_component to Results paste buttons
* Cleanup' 'Extras tab' case paste elements
2024-11-20 20:47:09 +00:00
DenOfEquity
f4a6a08ec2
Chasing save issues ( #2331 )
...
* already_saved_as attribute for gallery items after hiresfix quickbutton
* different method to select image in gallery after hires quickbutton with insert option to avoid other changes
2024-11-16 12:27:20 +00:00
DenOfEquity
dbccf77f3c
better save filename handling ( #2328 )
...
avoids gradio image caching issue where old image used instead of new
if jpg file saved too, filename will match (without overwrite)
if info txt file saved too, filename will match
2024-11-15 15:59:34 +00:00
Haoming
92d6bbaa36
cmd arg to skip initializing google_blockly
...
new cmd_arg, --skip-google-blockly
2024-11-15 12:30:29 +00:00
DenOfEquity
95021aebec
Hiresfix quickbutton insert option ( #2325 )
...
add gallery insert option for hiresfix quickbutton, and select the new image in the new gallery
2024-11-15 12:16:29 +00:00
DenOfEquity
19a9a78c9b
fix/workaround for potential memory leak ( #2315 )
...
unload old models, based on reference count <= 2
(in practise only noticed extra copies of JointTextEncoder, never KModel or IntegratedAutoencoderKL)
#2281 #2308 and others
2024-11-14 22:05:54 +00:00
DenOfEquity
98e0adcc78
Refiner ( #2192 )
...
restore refiner, now uses new mode loading functions. No significant changes otherwise.
2024-11-11 11:20:48 +00:00
DenOfEquity
329c3ca334
fix API get/refresh embeddings ( #2271 )
2024-11-06 18:24:28 +00:00
Dmitriy
e2fe29c104
add safe get override_setting for processing ( #2253 )
2024-11-04 17:00:11 +00:00
licyk
4d75507c3d
Fix DAT models download ( #2252 )
...
fix DAT models download (based on A1111 PR 16302)
2024-11-04 11:06:22 +00:00
Dmitriy
99b4912e0d
add img2img batch use original name setting ( #1952 )
...
makes save filename consistent for both sub-tabs of img2img batch
using original filename is now an option
2024-11-03 22:47:09 +00:00
catboxanon
e5b34baae6
Honor lossless WebP compression option in API ( #2245 )
2024-11-01 12:37:56 -04:00
layerdiffusion
1b44ae22e3
revise space
2024-10-31 09:08:04 -07:00
layerdiffusion
623778a3a3
dep ver
2024-10-28 21:50:29 -07:00
psydok
878c056576
Any exception is translated in http response ( #2186 )
...
* fix: get error in http request
2024-10-28 00:27:38 +00:00
DenOfEquity
70f3499d0f
avoid potential unnecessary model load with hiresfix quickbutton ( #2189 )
2024-10-26 21:48:36 +01:00
altoiddealer
145a46907e
Improve option handling (sd_model_checkpoint / forge_additional_modules) ( #2181 )
...
* Sort modules when checking for changes
* Compare consistent checkpoint values
2024-10-26 21:10:05 +01:00
DenOfEquity
d4d8ad406e
save (Hires) Distilled CFG to infotext ( #2172 )
...
changing hires model could lead to not writing
2024-10-24 20:37:34 +01:00
DenOfEquity
9a698e26d6
Properly load/save infotext for empty selection of hrfix additional modules ( #2156 )
...
empty selection for *Hires VAE / TE* means 'use modules built-in to the model file', same as top-row VAE / TE selection. But this must be written to infotext as something, to distinguish from the non-HiRes case.
2024-10-23 11:08:45 +01:00
DenOfEquity
0c97a5347a
properly load/save 'Use same choices' infotext ( #2147 )
...
* save 'Use same choices' to infotext, and load
* reload models as needed for batch iterations
2024-10-22 16:34:40 +01:00
Kazancev Danil
518e3cdbd5
fix txt2img pydantic error ( #2138 )
...
Co-authored-by: kazanplova <kazanplova@mt-dev-gpu-hotel-01.novalocal >
2024-10-22 15:31:58 +01:00
DenOfEquity
e4ad1140c8
handle before_process scripts earlier ( #2132 )
...
this allows the built-in extension 'extra options section' to override correctly
2024-10-21 11:07:48 +01:00
DenOfEquity
aaa2fe761b
Hires additional modules ( #2116 )
...
adds selection of none/same/different modules for hiresfix
('Use same choices' default option has priority over other selections made at same time.)
includes saving/loading from infotext
2024-10-21 11:03:12 +01:00
catboxanon
edc46380cc
Automatically enable ztSNR when applicable ( #2122 )
2024-10-19 20:33:34 -04:00
catboxanon
aba35cde5f
Fix Zero Terminal SNR option
2024-10-19 12:28:14 -04:00
DenOfEquity
1fae20d94f
Clipskip override from infotext ( #2099 )
...
* support more infotext overrides
clip skip, model, and vae/te, and old VAE too
2024-10-18 16:47:49 +01:00
DenOfEquity
1ef5436833
add .avif to extensions for img2img batch ( #2102 )
2024-10-17 20:23:42 +01:00
DenOfEquity
a06cfc9634
Hiresfix checkpoint ( #2100 )
...
restores checkpoint selection for highres fix
2024-10-17 13:39:42 +01:00
altoiddealer
6dc71b7e1d
prevent undoing refresh model load params ( #2092 )
...
Ensures `should_refresh_model_loading_params()` is called when needed. Improved code clarity.
2024-10-16 14:52:35 +01:00
DenOfEquity
9efa4eabfd
prevent (Managed by Forge) settings from reverting to default ( #2090 )
...
* prevent (Managed by Forge) settings reverting to default
* save CLIP skip to config when changed, inconsistent / unpredictable saving behaviour otherwise
2024-10-16 14:10:26 +01:00
altoiddealer
2c543719e3
Improve options management ( #2078 )
...
- `/sdapi/v1/options` GET now calls `get_config()` from **sysinfo** module, instead of from its own version of the function.
- Defined a new, flexible and more robust `set_config()` function in **sysinfo** module, which:
- obsoletes redundant code
- skips updating values that are unchanged
- has flexible args for both API and UI use
- `/sdapi/v1/options` POST and `override_settings` now use the new `set_config()` function. `set_config()` could possibly obsolete additional functions, but I'm not going to get into that just yet.
- Options for `forge_additional_modules` can now be provided either as the file path, or just the module name.
- Most importantly, `refresh_model_loading_parameters()` is now only called ONCE per request, and **only** if necessary.
- It is now much easier to call `shared.opts.save()` as needed
2024-10-16 11:21:54 +01:00
altoiddealer
cce30d3340
Include Extra Images via API ( #2066 )
2024-10-15 13:52:08 +01:00
DenOfEquity
b4d2266dc6
Checkpoint vae+te metadata should be in new attribute ( #2073 )
...
* new metadata in new attribute
maintain compatibility with old webui by not reusing the vae metadata attribute
2024-10-15 13:40:15 +01:00