{% load staticfiles %} {% if query_image %}
{% csrf_token %}
The Query You Uploaded:
{% if from_db %} {% else %} {% endif %}
Query time: {{ time }}s. {% if re_rank is None %} {% if from_db %} Click to re-rank. {% else %} Click to re-rank. {% endif %} {% endif %}
{% if aesthetic %}

Aesthetic score: {{ aesthetic_score }}

{% endif %}
{% for result in results %} {% if from_db %} {% else %} {% endif %} {% endfor %}
{% endif %}