{% extends "base.html" %} {% block main_content %} {# make the form-switch / toggle info color set, give or take #}
{% set max=eids.split(',')|length %}
{% if eids.find(obj.id|string) > 0 %}
{% endif %} {% if obj.type.name == "Image" %}
{% elif obj.type.name == "Video" %} {% endif %} {% for eid in eids.split(',') %} {% if loop.index == max-1 %} {% if eid|int != obj.id %}
{% endif %} {% endif %} {% endfor %}
{# use this for color of toggles: https://www.codeply.com/p/4sL9uhevwJ #}
Show:
AI Model:
{% if not obj.file_details.faces %} {{CreateSelect( "model", 0, ["N/A", "normal", "slow/accurate"], "", "rounded-end h-100 norm-txt", [0,1,2])|safe }} {% else %} {{CreateSelect( "model", obj.file_details.faces[0].facefile_lnk.model_used, ["normal", "slow/accurate"], "", "rounded-end h-100 norm-txt", [1,2])|safe }} {% endif %}
{% endblock main_content %} {% block script_content %} {% endblock script_content %}