FizzleDorf / ComfyUI_FizzNodes

Custom Nodes for Comfyui
MIT License
370 stars 56 forks source link

Values lower than 1.00 denoising sometimes produce error in ksampler? #32

Closed 311-code closed 7 months ago

311-code commented 10 months ago

I believe sometimes when I use a value lower than 1.0 in the ksampler for a video2video workflow I downloaded it spits out this error. It's the only thing I change, Any ideas?

Error occurred when executing BatchPromptSchedule:

Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

File "C:\Users\NewPC\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\Users\NewPC\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\Users\NewPC\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\Users\NewPC\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes\ScheduledNodes.py", line 120, in animate animation_prompts = json.loads(inputText.strip()) File "json__init__.py", line 346, in loads File "json\decoder.py", line 337, in decode File "json\decoder.py", line 353, in raw_decode

FizzleDorf commented 10 months ago

you are missing double quotes. The syntax is "0":"prompt", . Make sure you double check your prompt to make sure you didn't accidentally erase a quote.