Commit Graph

8600 Commits

Author SHA1 Message Date
David Stenbeck
f3672ffbbe Make live preview viewable in "full screen" (#2630)
Added fix by EvanGuanSF to make live generation preview image clickable to view in fullscreen.

Credit to: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1167#issuecomment-2395043707
2025-02-08 11:32:10 +00:00
DenOfEquity
e21a6e15b6 birefnet update for HR model (#2629)
old model still available as an option
2025-02-07 21:30:05 +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
DenOfEquity
a2302538b0 Pag2025 (#2614)
bug fix + some useful options
2025-02-03 23:35:17 +00:00
DenOfEquity
f953e9cacb two options for Forge canvas toolbar (#2613) 2025-02-03 23:28:40 +00:00
hako-mikan
daee4c0d8f Add force refresh to LoRA Loader refresh function (#2584) 2025-01-28 16:04:44 -05:00
parsee-mizuhashi
b835f24a4d Remove license-infringing / potentially malicious / obfuscated code (#2151) 2025-01-13 17:34:16 -05:00
DenOfEquity
f53307881b birefnet background removal - add batch (directory) processing (#2489)
main work by @nitinmukesh (https://github.com/lllyasviel/stable-diffusion-webui-forge/discussions/2458)
added options to always save as PNG and always save flat (apply mask instead of saving with mask channel)
fix for jpg/jpeg (no mask channel) (if not save flat, save as PNG)

Co-authored-by: nitinmukesh <nitinmukesh@users.noreply.github.com>
2024-12-22 21:22:21 +00:00
Haoming
37301b2219 add scribble alpha to inpaint mask (#2461) 2024-12-16 11:14:42 +00:00
DenOfEquity
e073e4ec58 add batch captioning (directory based) (#2420)
optionally save captions to textfiles
optionally use -base model instead of -large
some smaller tweaks / spelling fixes
2024-12-10 11:19:20 +00:00
DenOfEquity
2051c4100b Apply emphasis mode changes immediately (#2423)
Previously emphasis mode changes applied only on model load.
Also added handling for mode 'None' (literal interpretation), which previously gave results identical to mode 'Ignore'.
2024-12-08 19:25:39 +00:00
DenOfEquity
2e867aaf3a SAG - add check for hires CFG 1 (#2434) 2024-12-08 12:30:26 +00:00
DenOfEquity
85a7db3c0f SAG + Kohya HRFix: different method (#2304)
store shape after Kohya HRFix is applied, use it in SAG instead of trying to calculate. AFAICT, calculation can never be 100% correct due to rounding. Original method is tried first.
additional stored shape can be used by other extensions, e.g. Forge Couple, to enable compatibility with Kohya HRFix
2024-12-06 21:36:58 +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
b17d43f706 remove Florence-2 import patch (#2303)
no longer necessary after other updates,
and causes an error instead
2024-11-11 10:39:26 +00:00
DenOfEquity
a8de9ae70c SAG: try old mask reshape calculation first (#2294) 2024-11-09 13:28:49 +00:00
DenOfEquity
f10214e358 fix for SAG with Kohya HRFix (#2284)
rework blur map mask reshape: now works with arbitrary Kohya HRFix downscale factors
2024-11-08 15:48:18 +00:00
catboxanon
6e1a7908b4 Fallback to estimated prediction if .yaml prediction not suitable (#2273) 2024-11-06 23:49:18 -05:00
catboxanon
f4afbaff45 Only use .yaml config prediction if actually set (#2272) 2024-11-06 23:44:12 -05:00
Lucas Freire Sangoi
75120d02f3 Restore lines for DoRA TE keys fix (#2240) 2024-11-06 20:20:57 +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
05b01da01f Fix ldm .yaml loading typo (#2248) 2024-11-02 10:29:13 -04:00
catboxanon
90a6970fb7 Compatibility for ldm .yaml configs (#2247) 2024-11-02 10:16:51 -04:00
catboxanon
e5b34baae6 Honor lossless WebP compression option in API (#2245) 2024-11-01 12:37:56 -04:00
layerdiffusion
d50f390c7e rewrite mu shift 2024-10-31 22:57:26 -07:00
layerdiffusion
d1b996f3c3 dep ver
tested most basics. but please report if anything is conflicted
2024-10-31 22:27:40 -07:00
layerdiffusion
1b44ae22e3 revise space 2024-10-31 09:08:04 -07:00
catboxanon
6f4350d65f Fix typo in .yaml config load (#2228) 2024-10-31 07:09:27 -04:00
catboxanon
b691b1e755 Fix .yaml config loading (#2224) 2024-10-30 16:18:44 -04:00
DenOfEquity
ecd4d28e46 block some settings from extra_options for txt2img/img2img (#2218)
There are various negative effects if these settings are allowed in the extra options for txt2img or img2img. This PR removes them from the extra_options lists at load time.

'sd_model_checkpoint' and 'CLIP_stop_at_last_layers' will invisibly override main UI settings, leading to confusing behaviour
'sd_vae' doesn't seem harmful, but can create an empty block in the UI section
'forge_additional_modules' causes an error that prevents the UI from loading
2024-10-30 00:11:46 +00:00
layerdiffusion
077933deca move docs 2024-10-29 15:09:06 -07:00
lllyasviel
393a0f2aaa Update README.md 2024-10-28 23:09:02 -07:00
lllyasviel
d0a873f2a9 Update README.md 2024-10-28 22:53:39 -07:00
lllyasviel
6097f79f19 Update README.md 2024-10-28 22:53:02 -07:00