Skip to content

API_civitai.py path is not correct #69

@jackiezxt

Description

@jackiezxt
def get_civitai_base_paths():
    """Returns common paths for CivitAI integration"""
    custom_nodes_dir = Path(__file__).parent.parent.parent.parent
    civitai_base_path = custom_nodes_dir / "ComfyUI" / "custom_nodes" / "Bjornulf_custom_nodes" / "civitai"
    return custom_nodes_dir, civitai_base_path, civitai_base_path  # Last one is parsed_models_path

this func, if my comfyui folder name is "comfyui_xxx", or "comfyui_yyy" , it will missing the path, I think civitai_base_path variable should be more brilliant or flexible.

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