Closed KaijuML closed 10 months ago
Can you print(info)
and put the output here? The error is because a custom node is an output node and returns an enum at the same time. ComfyScript can't determine what enum name to use in such a case.
Hey thanks for the reply. Here's the output you asked for:
Fixed in v0.3.0.
Hey, thanks very much for your work, it looks awesome.
I hit an error, when trying to make the example notebook
runtime.ipynb
work:Click here to see the error stack trace
``` Nodes: 529 --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) Cell In[1], line 4 1 from script.runtime import * 3 # load('http://127.0.0.1:8188/') ----> 4 load() 6 # Nodes can only be imported after load() 7 from script.runtime.nodes import * File /mnt/c/Users/clementr/Projects/stablediffusion/ComfyUI/custom_nodes/ComfyScript/script/runtime/__init__.py:18, in load(api_endpoint, vars, watch, save_script_source) 17 def load(api_endpoint: str = 'http://127.0.0.1:8188/', vars: dict | None = None, watch: bool = True, save_script_source: bool = True): ---> 18 asyncio.run(_load(api_endpoint, vars, watch, save_script_source)) File ~/miniconda3/envs/comfyui/lib/python3.10/site-packages/nest_asyncio.py:30, in _patch_asyncio.From what i can tell, everything looks ok, my comfyui is running and works correctly.
When I investigate a bit i can add a line to
script/runtime/factory.py>RuntimeFactory>add_node
(at line L116):and i get the following list being printed, which appears to be the models i have downloaded from civitai
I don't understand the code enough to debug further, could you help me please?
Thanks very much, Clement