diff --git a/pyproject.toml b/pyproject.toml index 65575b6..ab6df09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-deploy" description = "Open source comfyui deployment platform, a vercel for generative workflow infra." -version = "2.3.2" +version = "2.3.3" license = { file = "LICENSE" } dependencies = ["aiofiles", "pydantic", "opencv-python", "imageio-ffmpeg", "tabulate", "brotli"] diff --git a/web-plugin/index.js b/web-plugin/index.js index 681ad7c..b5ad534 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -538,9 +538,7 @@ const ext = { } if (toInput.length) { if (true) { - options.push(); - - let optionIndex = options.findIndex((o) => o.content === "Outputs"); + let optionIndex = options.findIndex((o) => o && o.content === "Outputs"); if (optionIndex === -1) optionIndex = options.length; else optionIndex++; options.splice( @@ -737,7 +735,7 @@ const ext = { "string", inputName, /* value=*/ "", - () => {}, + () => { }, { serialize: true } ); @@ -1720,14 +1718,12 @@ export class LoadingDialog extends ComfyDialog { showLoading(title, message) { this.show(`
-

${title} ${ - this.loadingIcon - }

- ${ - message - ? `` - : "" - } +

${title} ${this.loadingIcon + }

+ ${message + ? `` + : "" + }
`); } @@ -2312,12 +2308,10 @@ export class ConfigDialog extends ComfyDialog { transition: all 0.2s ease; box-sizing: border-box; " onfocus="this.style.borderColor='#0ea5e9'; this.style.background='#252525'; this.style.boxShadow='0 0 0 3px rgba(14, 165, 233, 0.1)'" onblur="this.style.borderColor='#404040'; this.style.background='#1a1a1a'; this.style.boxShadow='none'" onmouseover="this.style.borderColor='#525252'" onmouseout="if(document.activeElement !== this) this.style.borderColor='#404040'"> - - + +
API Key - ${ - data.displayName - ? ` + ${data.displayName + ? `
- ${ - data.apiKey - ? "Re-authenticate with ComfyDeploy" - : "Login with ComfyDeploy" - } + ${data.apiKey + ? "Re-authenticate with ComfyDeploy" + : "Login with ComfyDeploy" + }