{% extends "layout.html" %} {% block content %} {% from "partials/library_toolbar.html" import library_toolbar %} {{ library_toolbar( title="Checkpoint", category="checkpoints", create_url=none, has_batch_gen=true, has_regen_all=true, has_lora_create=true, bulk_create_url=url_for('bulk_create_checkpoints'), has_tags=false, rescan_url=url_for('rescan_checkpoints'), get_missing_url="/get_missing_checkpoints", clear_covers_url="/clear_all_checkpoint_covers", generate_url_pattern="/checkpoint/{slug}/generate" ) }}
{% for ckpt in checkpoints %}
{% if ckpt.image_path %} {{ ckpt.name }} No Image {% else %} {% set fallback = random_gen_image('checkpoints', ckpt.slug) %} {% if fallback %} {{ ckpt.name }} No Image {% else %} {{ ckpt.name }} No Image {% endif %} {% endif %}
{% if ckpt.is_favourite %} {% endif %}{{ ckpt.name }} {% if ckpt.is_nsfw %}NSFW{% endif %}
{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}