mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
small fixes
This commit is contained in:
parent
90275dfc78
commit
d3abf8da44
@ -24,8 +24,8 @@ WanGP supports the Wan (and derived models), Hunyuan Video and LTV Video models
|
||||
I am really convinced that Vace can do everything the other models can do and in a better way especially as Vace can be combined with Multitalk.
|
||||
|
||||
Here are some new Vace improvements:
|
||||
- I have provided a default finetune named *Vace Cocktail* which is a model created on the fly using the Wan text 2 video model and the Loras used to build FusioniX. The weight of the *Detail Enhancer* Lora has been reduced to improve identity preservation. Copy the model def in the finetune folder to change the Cocktail composition.
|
||||
- Talking about identity preservation, it tends to go away when one generates a single Frame instead of a Video which is shame for our Vace photoshop. But there is a solution : I have added an Advanced Quality option, that tells WanGP to generate a little more than a frame (it will still keep only the first frame). It will be a little be slower but you will be amazed how Vace Cocktail combined with this option will preserve identities (bye bye *Phantom*).
|
||||
- I have provided a default finetune named *Vace Cocktail* which is a model created on the fly using the Wan text 2 video model and the Loras used to build FusioniX. The weight of the *Detail Enhancer* Lora has been reduced to improve identity preservation. Copy the model definition in *defaults/vace_14B_cocktail.json* in the *finetunes/* folder to change the Cocktail composition. Cocktail contains already some Loras acccelerators so no need to add on top a Lora Accvid, Causvid or Fusionix, ... . The whole point of Cocktail is to be able to build you own FusioniX (which originally is a combination of 4 loras) but without the inconvenient of FusioniX.
|
||||
- Talking about identity preservation, it tends to go away when one generates a single Frame instead of a Video which is shame for our Vace photoshop. But there is a solution : I have added an Advanced Quality option, that tells WanGP to generate a little more than a frame (it will still keep only the first frame). It will be a little slower but you will be amazed how Vace Cocktail combined with this option will preserve identities (bye bye *Phantom*).
|
||||
- As in practise I have observed one switches frequently between *Vace text2video* and *Vace text2image* I have put them in the same place they are now just one tab away, no need to reload the model. Likewise *Wan text2video* and *Wan tex2image* have been merged.
|
||||
- Color fixing when using Sliding Windows. A new postprocessing *Colot Correction* applied automatically by default (you can disable it in the *Advanced tab Sliding Window*) will try to match the colors of the new window with that of the previous window. It doesnt fix all the unwanted artifacts of the new window but at least this makes the transition smoother. Thanks to the multitalk team for the original code.
|
||||
|
||||
|
||||
6
wgp.py
6
wgp.py
@ -2128,7 +2128,8 @@ def get_model_query_handler(model_type):
|
||||
from ltx_video.ltxv import query_model_def
|
||||
elif model_family == "flux":
|
||||
from flux.flux_main import query_model_def
|
||||
|
||||
else:
|
||||
raise Exception(f"Unknown / unsupported model type {model_type}")
|
||||
return query_model_def
|
||||
|
||||
def init_model_def(model_type, model_def):
|
||||
@ -6031,14 +6032,15 @@ def use_video_settings(state, input_file_list, choice):
|
||||
defaults.update(configs)
|
||||
current_model_type = state["model_type"]
|
||||
prompt = configs.get("prompt", "")
|
||||
set_model_settings(state, model_type, defaults)
|
||||
if has_image_file_extension(file_name):
|
||||
gr.Info(f"Settings Loaded from Image with prompt '{prompt[:100]}'")
|
||||
else:
|
||||
gr.Info(f"Settings Loaded from Video with prompt '{prompt[:100]}'")
|
||||
if are_model_types_compatible(model_type,current_model_type):
|
||||
set_model_settings(state, current_model_type, defaults)
|
||||
return gr.update(), str(time.time())
|
||||
else:
|
||||
set_model_settings(state, model_type, defaults)
|
||||
return generate_dropdown_model_list(model_type), gr.update()
|
||||
else:
|
||||
gr.Info(f"No Video is Selected")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user