Skip to content

ksampler with refiner (fooocus) #10

@rossaai

Description

@rossaai
 File "C:\Users\Usuario\Documents\Git Clone\ComfyUI_windows_portable\ComfyUI\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 246, in generate_workflow final_code = self.assemble_python_code(import_statements, special_functions_code, code, queue_size, custom_nodes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Usuario\Documents\Git Clone\ComfyUI_windows_portable\ComfyUI\ComfyUI-to-Python-Extension\comfyui_to_python.py", line 328, in assemble_python_code final_code = black.format_str(final_code, mode=black.Mode()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "src\black\__init__.py", line 1085, in format_str File "src\black\__init__.py", line 1095, in _format_str_once File "src\black\parsing.py", line 100, in lib2to3_parse black.parsing.InvalidInput: Cannot parse: 112:11: ksampler with refiner (fooocus) = NODE_CLASS_MAPPINGS["KSampler With Refiner (Fooocus)"]() 

The extension
ComfyUI_Fooocus_KSampler

image

This is the workflow im using (rename it to .json. Github dont support upload .json)
workflow.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions