change output types to FLOAT

This commit is contained in:
flyingshutter 2023-04-08 05:12:31 +02:00
parent aa29284a76
commit 59cfa0e7e3

View File

@ -3,8 +3,8 @@ import { app } from "/scripts/app.js";
class BatchInfo {
constructor() {
this.addOutput("iteration", "INT");
this.addOutput("batchCount", "INT");
this.addOutput("iteration", "FLOAT");
this.addOutput("batchCount", "FLOAT");
const batchIteration = (ComfyWidgets["INT"](this, "iteration", ["INT",{}], app) || {}).widget;
batchIteration.disabled = true;