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(`