{% extends "layout.html" %} {% block content %}

Character Library

Batch Generating...
Starting...
Overall Batch Progress
{% for char in characters %}
{% if char.image_path %} {{ char.name }} No Image {% else %} {{ char.name }} No Image {% endif %}
{{ char.name }}

{% set ns = namespace(parts=[]) %} {% for section_key in ['identity', 'defaults'] %} {% if char.data[section_key] is mapping %} {% for v in char.data[section_key].values() %} {% if v %}{% set ns.parts = ns.parts + [v] %}{% endif %} {% endfor %} {% endif %} {% endfor %} {% set wardrobe = char.data.get('wardrobe', {}) %} {% if wardrobe %} {% set outfit_data = wardrobe.get('default', wardrobe) %} {% if outfit_data is mapping %} {% for v in outfit_data.values() %} {% if v and v is string %}{% set ns.parts = ns.parts + [v] %}{% endif %} {% endfor %} {% endif %} {% endif %} {% if char.data.lora and char.data.lora.lora_triggers %} {% set ns.parts = ns.parts + [char.data.lora.lora_triggers] %} {% endif %} {{ ns.parts | join(', ') }}

{% if char.data.lora.lora_name %} {% set lora_name = char.data.lora.lora_name.split('/')[-1].replace('.safetensors', '') %} {% endif %}
{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}