Nodes/AAA Metadata System/LoRA Gallery Display v03
ComfyUI Node

LoRA Gallery Display v03

Browse Your LoRAs Like a Web Gallery, Not a Filename List

By EricRollei·Created 10 months ago·Updated 9 months ago· 13
LoRA Gallery Display v03
    • gallery_html
    • selected_index
    • selected_lora_info
    lora_list
    selected_index1
    refresh_galleryfalse
    gallery_sizemedium
    show_architecturetrue
    show_categorytrue
    filter_architectureAny
    filter_categoryAny

    Reading your LoRA library as a flat list of .safetensors filenames is a bad way to pick one. LoRA Gallery Display v03 is the family's attempt at a better interface: it takes the LoRA list from the pack's LoRA Tester node and renders it as an HTML gallery - cards with architecture and category badges, sized small/medium/large, filterable by architecture and category. You get a visual browse instead of a wall of text, plus a clean way to track which LoRA is currently selected in a testing workflow.

    The required inputs start with lora_list, which is exactly what its tooltip says: "LoRA list from LoRA Tester node." This node is designed to sit downstream of the pack's LoRA Tester, receiving the list it outputs. selected_index (1-based, default 1) marks which card is highlighted, refresh_gallery forces a rebuild of the HTML, gallery_size picks card size, and show_architecture/show_category toggle the badges on each card. The optional filter_architecture and filter_category inputs let you narrow what the gallery shows without touching the underlying list.

    Outputs: gallery_html (STRING - the rendered gallery markup), selected_index (INT - echoes back which card is active), and selected_lora_info (STRING - the details of the currently selected LoRA). The selected_lora_info output is the wiring point: pipe it onward to build a prompt or load that LoRA's parameters. selected_index existing as an output is a subtle tell - the intended pattern is a feedback loop where you bump the index, the gallery re-renders highlighting a different card, and downstream nodes update to match.

    Now the honest caveats. gallery_html is a string of HTML, and how you actually see it depends on how you're using ComfyUI - there's no guarantee it renders inline in every frontend, so treat it as an HTML artifact you can preview in a browser, not a guaranteed inline UI. Also, this is a niche single-author pack; the gallery is driven by whatever the LoRA Tester's list format happens to be, so don't expect it to accept a paste of arbitrary paths. And it's a display node: it doesn't modify anything, so it's the safe one to play with.

    Honestly, the gallery nodes are the most "personal-project" feeling part of this pack - they make total sense for the author's own testing workflow and slightly less sense as a general-purpose tool. If you're deep in LoRA testing and want to flip through cards instead of typing filenames, they're nice. If you just want to rate some LoRAs, the Quick Feedback node is the lighter touch.

    Install the pack and restart, then it's under loaders/lora tester:

    cd ComfyUI/custom_nodes
    git clone https://github.com/EricRollei/AAA_Metadata_System
    cd AAA_Metadata_System
    pip install -r requirements.txt
    

    Feed it a lora_list from the LoRA Tester, pick a size, and browse. It's a gallery in a string - but it's your gallery.

    Categoryloaders/lora tester

    Inputs (8)

    NameTypeDefaultDescription
    lora_listSTRINGLoRA list from LoRA Tester node
    selected_indexINT11–999Currently selected LoRA index (1-based)
    refresh_galleryBOOLEANfalseForce refresh the gallery display
    gallery_sizeCOMBOmediumSize of gallery cards
    show_architectureBOOLEANtrueShow architecture badges on cards
    show_categoryBOOLEANtrueShow category badges on cards
    filter_architectureoptCOMBOAnyFilter gallery by architecture
    filter_categoryoptCOMBOAnyFilter gallery by category

    Outputs (3)

    NameTypeDescription
    gallery_htmlSTRING
    selected_indexINT
    selected_lora_infoSTRING