Skip to content
Python

remove 'remove bg' for SVI 20 Pro

DeepBeepMeep55c3f3319c34
diff --git a/README.md b/README.md
index ec8d8df..1f929c3 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ WanGP comes again to the rescue:
- **RAM Optimizations for multi minutes Videos**: processing, saving, spatial & Temporal upsampling very long videos should require much less RAM.
-- **Text Encoder Cache**: if you are using a Text prompt already used recently with the current model, it will be taken straight from a cache. The cache is optimized to consume little RAM. It wont work with certain models such as Qwen where the Text Pormpt is combined internally with an Image.
+- **Text Encoder Cache**: if you are asking a Text prompt already used recently with the current model, it will be taken straight from a cache. The cache is optimized to consume little RAM. It wont work with certain models such as Qwen where the Text Prompt is combined internally with an Image.
*update 10.41*: added Flux 2 klein\
*update 10.42*: added RAM optimizations & Text Encoder Cache
diff --git a/models/wan/wan_handler.py b/models/wan/wan_handler.py
index fe49c24..245cab1 100644
--- a/models/wan/wan_handler.py
+++ b/models/wan/wan_handler.py
@@ -306,6 +306,7 @@ class family_handler():
"show_label" : False,
}
extra_model_def["all_image_refs_are_background_ref"] = True
+ extra_model_def["no_background_removal"] = True
extra_model_def["parent_model_type"] = "i2v_2_2"