Keep V2 identity on the FL2VA UNet and turbo LoRA that Beast has.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -227,12 +227,6 @@ function applyV2IdentityPath(
|
|||||||
graph['155'].inputs.prompt = graphPrompt
|
graph['155'].inputs.prompt = graphPrompt
|
||||||
graph['155'].inputs.length = ['174', 1]
|
graph['155'].inputs.length = ['174', 1]
|
||||||
delete graph['173']
|
delete graph['173']
|
||||||
if (graph['169']?.inputs) {
|
|
||||||
graph['169'].inputs.unet_name = 'minimax_h3_ref2va_pruned_int8_convrot.safetensors'
|
|
||||||
}
|
|
||||||
if (params.turbo && graph['176']?.inputs) {
|
|
||||||
graph['176'].inputs.lora_name = 'minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors'
|
|
||||||
}
|
|
||||||
V2_REF_LOADERS.forEach((id, index) => {
|
V2_REF_LOADERS.forEach((id, index) => {
|
||||||
if (!graph[id]) return
|
if (!graph[id]) return
|
||||||
graph[id].inputs.image = refs[index] || params.imageName
|
graph[id].inputs.image = refs[index] || params.imageName
|
||||||
|
|||||||
Reference in New Issue
Block a user