Skip to content

[Bug]: Loras not loaded if present in subfolders relative to Lora directory #60

@mobedoor

Description

@mobedoor

Where is the issue?

  • The issue is with the "Custom Node 'Flow'"
  • The issue is with a specific flow. Please refer to Flows repository if the problem lies with a specific flow.
  • I’m not sure where the issue is

Bug Description

I organize my Lora's into subfolders like character, style, clothing. When trying to use those loras, image generation fails.

Step-by-step instructions to reproduce the issue

  1. Open base stable diffusion workflow
  2. Choose a lora from one of the subfolders created.
  3. Press generate.
  4. Nothing happens.

Expected Behavior

Image is successfully generated.

Current Behavior

Nothing is generated.

Flow Version or Commit

0.5.2

Media and Logs

got prompt
Failed to validate prompt for output 9:
* LoraLoaderModelOnly 10:
  - Value not in list: lora_name: 'style\Cincho_Style_-_Illustrious.safetensors' not in (list of length 132)
Output will be ignored
invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

Additional Information

No response

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