Release V3.8X2 package 3.8.3
This commit is contained in:
@@ -2,14 +2,20 @@ const NORMALIZED_INPUT_LABELS = {
|
||||
reference_video_1: "Video Guide Frames",
|
||||
driving_audio: "Driving Audio",
|
||||
audio_vae: "Driving Audio VAE",
|
||||
reference_audio_1: "Reference Audio (Optional)",
|
||||
reference_audio_vae: "Reference Audio VAE (Optional)",
|
||||
audio_references: "Reference Audios (Optional)",
|
||||
reference_audio_1: "Reference Audio (Legacy)",
|
||||
reference_audio_vae: "Reference Audio VAE (Legacy)",
|
||||
};
|
||||
|
||||
export function normalizeReferenceAudioLabels(node) {
|
||||
if (!node) {
|
||||
return false;
|
||||
}
|
||||
if (!node) {
|
||||
return false;
|
||||
}
|
||||
if (node.comfyClass === "H3ContinuumReferenceAudios") {
|
||||
const output = node.outputs?.find((item) => item.name === "audio_references");
|
||||
if (output) output.label = "Reference Audios";
|
||||
return true;
|
||||
}
|
||||
for (const input of node.inputs || []) {
|
||||
const label = NORMALIZED_INPUT_LABELS[input.name];
|
||||
if (label) {
|
||||
|
||||
Reference in New Issue
Block a user