{% extends "base.html" %} {% load static %} {% block title %}我的模型 - 联邦学习{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% if page_obj %}
{% for model in page_obj %}
{{ model.name }}
{% if model.is_active %}已激活{% else %}未激活{% endif %}
类型: {{ model.model_type }}
大小: {{ model.file_size }}MB
样本数: {{ model.training_samples }}
上传: {{ model.upload_time|date:"Y-m-d" }}
{% if model.description %}
{{ model.description }}
{% endif %}
{% csrf_token %}
{% endfor %}
{% if page_obj.has_other_pages %} {% endif %} {% else %}
📭
还没有上传任何模型
上传第一个模型
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}