Spaces:
Paused
Paused
Rename app-19.py to app.py
Browse files85 unmodified lines86878889909192939495969798991002 unmodified lines10310410510610710810985 unmodified lines)pipe.load_lora_weights("romanfratric234/WAN_2-1_Gangbang_Missionary_Sex_I2V",weight_name="gangbang-final-000002.safetensors",adapter_name="high_noise_lora_spec",token=os.environ.get("HF_TOKEN"))# 新增:加载你提供的low noise LoRApipe.load_lora_weights("romanfratric234/WAN_2-1_Gangbang_Missionary_Sex_I2V",weight_name="gangbang-final-000002.safetensors",adapter_name="low_noise_lora_spec",token=os.environ.get("HF_TOKEN"),load_into_transformer_2=True2 unmodified linespipe.set_adapters(["lightx2v", "lightx2v_2","high_noise_lora", "low_noise_lora", "high_noise_lora_spec", "low_noise_lora_spec"], adapter_weights=[1.5, 1., 1., 1., 0.8, 1.])# 修改了lora_scalepipe.fuse_lora(adapter_names=["lightx2v", "high_noise_lora", "high_noise_lora_spec"], lora_scales=[3.0, 3.0, 3.0], components=["transformer"])# 修改了lora_scale85 unmodified lines86878889909192939495969798991002 unmodified lines10310410510610710810985 unmodified lines)pipe.load_lora_weights("GiorgioV/LoRA_for_WAN_22",weight_name="analFromBehind_T2V_e100.safetensors",adapter_name="high_noise_lora_spec",token=os.environ.get("HF_TOKEN"))# 新增:加载你提供的low noise LoRApipe.load_lora_weights("GiorgioV/LoRA_for_WAN_22",weight_name="analFromBehind_T2V_e100.safetensors",adapter_name="low_noise_lora_spec",token=os.environ.get("HF_TOKEN"),load_into_transformer_2=True2 unmodified linespipe.set_adapters(["lightx2v", "lightx2v_2","high_noise_lora", "low_noise_lora", "high_noise_lora_spec", "low_noise_lora_spec"], adapter_weights=[1.5, 1., 1., 1., 0.8, 0.8])# 修改了lora_scalepipe.fuse_lora(adapter_names=["lightx2v", "high_noise_lora", "high_noise_lora_spec"], lora_scales=[3.0, 3.0, 3.0], components=["transformer"])# 修改了lora_scale
app-19.py → app.pyRenamed+5-5