Guest User

Load List of Checkpoints in ComfyUI

a guest
Aug 16th, 2023
943
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.67 KB | Source Code | 0 0
  1. {
  2.   "last_node_id": 6,
  3.   "last_link_id": 4,
  4.   "nodes": [
  5.     {
  6.       "id": 4,
  7.       "type": "CheckpointLoaderSimpleText",
  8.       "pos": [
  9.         1186.3782015713773,
  10.         392.32361013239057
  11.       ],
  12.       "size": {
  13.         "0": 315,
  14.         "1": 98
  15.       },
  16.       "flags": {},
  17.       "order": 3,
  18.       "mode": 0,
  19.       "inputs": [
  20.         {
  21.           "name": "ckpt_name",
  22.           "type": "STRING",
  23.           "link": 2,
  24.           "widget": {
  25.             "name": "ckpt_name",
  26.             "config": [
  27.               "STRING",
  28.               {
  29.                 "multiline": false,
  30.                 "default": "anyloraCheckpoint_bakedvaeFtmseFp16NOT.safetensors"
  31.               }
  32.             ]
  33.           }
  34.         }
  35.       ],
  36.       "outputs": [
  37.         {
  38.           "name": "MODEL",
  39.           "type": "MODEL",
  40.           "links": [],
  41.           "shape": 3,
  42.           "slot_index": 0
  43.         },
  44.         {
  45.           "name": "CLIP",
  46.           "type": "CLIP",
  47.           "links": [],
  48.           "shape": 3,
  49.           "slot_index": 1
  50.         },
  51.         {
  52.           "name": "VAE",
  53.           "type": "VAE",
  54.           "links": null,
  55.           "shape": 3
  56.         }
  57.       ],
  58.       "properties": {
  59.         "Node name for S&R": "CheckpointLoaderSimpleText"
  60.       },
  61.       "widgets_values": [
  62.         "anyloraCheckpoint_bakedvaeFtmseFp16NOT.safetensors"
  63.       ]
  64.     },
  65.     {
  66.       "id": 2,
  67.       "type": "Load Text File",
  68.       "pos": [
  69.         240,
  70.         450
  71.       ],
  72.       "size": {
  73.         "0": 315,
  74.         "1": 102
  75.       },
  76.       "flags": {},
  77.       "order": 1,
  78.       "mode": 0,
  79.       "outputs": [
  80.         {
  81.           "name": "STRING",
  82.           "type": "STRING",
  83.           "links": [
  84.             1
  85.           ],
  86.           "shape": 3,
  87.           "slot_index": 0
  88.         },
  89.         {
  90.           "name": "DICT",
  91.           "type": "DICT",
  92.           "links": null,
  93.           "shape": 3
  94.         }
  95.       ],
  96.       "properties": {
  97.         "Node name for S&R": "Load Text File"
  98.       },
  99.       "widgets_values": [
  100.         "[path to textfile list of checkpoints]",
  101.         "[filename]"
  102.       ]
  103.     },
  104.     {
  105.       "id": 3,
  106.       "type": "Text Load Line From File",
  107.       "pos": [
  108.         720,
  109.         420
  110.       ],
  111.       "size": {
  112.         "0": 317.4000244140625,
  113.         "1": 174
  114.       },
  115.       "flags": {},
  116.       "order": 2,
  117.       "mode": 0,
  118.       "inputs": [
  119.         {
  120.           "name": "multiline_text",
  121.           "type": "STRING",
  122.           "link": 1
  123.         }
  124.       ],
  125.       "outputs": [
  126.         {
  127.           "name": "line_text",
  128.           "type": "STRING",
  129.           "links": [
  130.             2,
  131.             4
  132.           ],
  133.           "shape": 3,
  134.           "slot_index": 0
  135.         },
  136.         {
  137.           "name": "dictionary",
  138.           "type": "DICT",
  139.           "links": null,
  140.           "shape": 3
  141.         }
  142.       ],
  143.       "properties": {
  144.         "Node name for S&R": "CheckpointFileName"
  145.       },
  146.       "widgets_values": [
  147.         "",
  148.         "[filename]",
  149.         "TextBatch",
  150.         "automatic",
  151.         0
  152.       ]
  153.     },
  154.     {
  155.       "id": 5,
  156.       "type": "Text Add Token by Input",
  157.       "pos": [
  158.         750,
  159.         690
  160.       ],
  161.       "size": {
  162.         "0": 315,
  163.         "1": 78
  164.       },
  165.       "flags": {},
  166.       "order": 4,
  167.       "mode": 0,
  168.       "inputs": [
  169.         {
  170.           "name": "token_name",
  171.           "type": "STRING",
  172.           "link": 3
  173.         },
  174.         {
  175.           "name": "token_value",
  176.           "type": "STRING",
  177.           "link": 4
  178.         }
  179.       ],
  180.       "properties": {
  181.         "Node name for S&R": "Text Add Token by Input"
  182.       },
  183.       "widgets_values": [
  184.         "true"
  185.       ]
  186.     },
  187.     {
  188.       "id": 6,
  189.       "type": "Text Multiline",
  190.       "pos": [
  191.         450,
  192.         660
  193.       ],
  194.       "size": {
  195.         "0": 210,
  196.         "1": 76
  197.       },
  198.       "flags": {},
  199.       "order": 0,
  200.       "mode": 0,
  201.       "outputs": [
  202.         {
  203.           "name": "STRING",
  204.           "type": "STRING",
  205.           "links": [
  206.             3
  207.           ],
  208.           "shape": 3,
  209.           "slot_index": 0
  210.         }
  211.       ],
  212.       "properties": {
  213.         "Node name for S&R": "Text Multiline"
  214.       },
  215.       "widgets_values": [
  216.         "CheckpointName"
  217.       ]
  218.     }
  219.   ],
  220.   "links": [
  221.     [
  222.       1,
  223.       2,
  224.       0,
  225.       3,
  226.       0,
  227.       "STRING"
  228.     ],
  229.     [
  230.       2,
  231.       3,
  232.       0,
  233.       4,
  234.       0,
  235.       "STRING"
  236.     ],
  237.     [
  238.       3,
  239.       6,
  240.       0,
  241.       5,
  242.       0,
  243.       "STRING"
  244.     ],
  245.     [
  246.       4,
  247.       3,
  248.       0,
  249.       5,
  250.       1,
  251.       "STRING"
  252.     ]
  253.   ],
  254.   "groups": [],
  255.   "config": {},
  256.   "extra": {},
  257.   "version": 0.4
  258. }
Tags: ComfyUI
Advertisement
Add Comment
Please, Sign In to add comment