v0.60.2
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "kaytool"
|
||||
description ="KayTool boosts ComfyUI workflow efficiency with powerful tools like: image processing (resize, color, blur, expand, merge, crop), background/mask tasks via BiRefNet/RemBG, wireless data transfer (Get & Out), AI translation (Tencent/Baidu), Professional high-precision resource monitoring, dynamic math operations, flexible text handling, precision sliders, metadata/color profile-supported image saving, batch processing via folder loading, canvas node map export as PNG with metadata, quick Run options via right-click, node alignment toolbar with custom styles, and custom ComfyUI logo integration."
|
||||
version = "0.60.1"
|
||||
version = "0.60.2"
|
||||
license = {file = "LICENSE"}
|
||||
dependencies = ["rembg, timm, opencv-python, requests, py-cpuinfo, pynvml"]
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { app } from "../../../scripts/app.js";
|
||||
import { api } from "../../scripts/api.js";
|
||||
class PromptExecution {
|
||||
|
||||
class KayPromptExecution {
|
||||
constructor(id) {
|
||||
this.promptApi = null;
|
||||
this.executedNodeIds = [];
|
||||
@@ -312,7 +313,7 @@ const KayResourceMonitor = {
|
||||
getOrMakePrompt(id) {
|
||||
let prompt = this.promptsMap.get(id);
|
||||
if (!prompt) {
|
||||
prompt = new PromptExecution(id);
|
||||
prompt = new KayPromptExecution(id);
|
||||
this.promptsMap.set(id, prompt);
|
||||
}
|
||||
return prompt;
|
||||
@@ -373,7 +374,7 @@ const KayResourceMonitor = {
|
||||
if (currentNode === "Idle") {
|
||||
displayText = "Workflow: Idle"; barPercentage = 0;
|
||||
} else {
|
||||
displayPercentage = isProgressUnknown ? "??%" : `${Math.min(Math.max(this.currentWorkflow.percentage, 0), 100).toFixed(1)}%`;
|
||||
displayPercentage = isProgressUnknown ? "Loading" : `${Math.min(Math.max(this.currentWorkflow.percentage, 0), 100).toFixed(1)}%`;
|
||||
barPercentage = isProgressUnknown ? 0 : Math.min(Math.max(this.currentWorkflow.percentage, 0), 100);
|
||||
if (queueCount > 1) { displayPercentage += ` (${queueCount})`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user