{% extends 'base.html' %} {%load static%} {%block extracss%} {%endblock extracss%} {%block content%}
{% csrf_token %}
{% if not user.is_authenticated %}

Please login to see results

{% else %}

Results:

{%for img in img_url%}

Image {{forloop.counter}}

{%for detection in img.get_prediction_data%}

{{detection.name}}: {{detection.confidence}}%

{%endfor%} {%endfor%} {%endif%}
{%endblock content%}