Added Numpy Show, Numpy Squeeze, Pandas Feature Split To Numpy, Pt Show Size nodes.

This commit is contained in:
HowToSD
2025-02-28 19:29:52 -08:00
parent b22193dc2b
commit f207bcbcdd
15 changed files with 443 additions and 3 deletions
@@ -10,9 +10,9 @@ import { ComfyWidgets } from "../../../scripts/widgets.js";
// Displays input text on a node
app.registerExtension({
name: "HowToSD.ShowSeries",
name: "HowToSD.ShowTextGeneric",
async beforeRegisterNodeDef(nodeType, nodeData, app) {
if (["PtShowText", "PandasShowSeries"].includes(nodeData.name)) { // This needs to match NODE_CLASS_MAPPINGS in Python
if (["NumpyShow", "PtShowText", "PtShowSize", "PandasShowSeries"].includes(nodeData.name)) { // This needs to match NODE_CLASS_MAPPINGS in Python
function populate(text) {
if (this.widgets) {
// Clear all widgets on the node