Nodes/ComfyDL/Notebook → Cell
ComfyUI Node

Notebook → Cell

A ComfyUI node in d2l/Notebook with 2 inputs and 3 outputs.

By Cynthia-lxx·Created 4 months ago·Updated 3 days ago· 6
Notebook → Cell
  • input
  • result
  • plot
  • stdout
◄codex = [i ** 2 for i in range(10)] print("squares:", x) Result = sum(x)►
Categoryd2l/Notebook

Inputs (2)

NameTypeDefaultDescription
codeSTRINGx = [i ** 2 for i in range(10)] print("squares:", x) Result = sum(x)Python source for this cell. Variables persist across cells of the same workflow; assign 'Result' to emit it on the result socket; call Notebook.plot() to capture figures.
inputopt*—

Outputs (3)

NameTypeDescription
result*—
plotIMAGE—
stdoutSTRING—