更新 uploadAudio.js

This commit is contained in:
AIFSH
2024-06-24 17:45:59 +08:00
committed by GitHub
parent 55c8ebb759
commit a172c05be2
+1 -1
View File
@@ -195,7 +195,7 @@ ComfyWidgets.AUDIOPLOAD = audioUpload;
app.registerExtension({
name: "XTTS.UploadAudio",
async beforeRegisterNodeDef(nodeType, nodeData, app) {
if (nodeData?.name == "LoadAudio") {
if (nodeData?.name == "LoadAudioPath") {
nodeData.input.required.upload = ["AUDIOPLOAD"];
}
},