{% if model_name %}

Classify Images with {{ model_name }}

{% else %}

Classify Images with ANY models you put (really)

{% endif %}
Your file is selected. Let's upload & make a prediction!
Please select an image
{% if img %}
{% endif %} {% if pred_result %}

Prediction: {{ pred_result[0][0] }}

Top 3:

{% for class_name, prob in pred_result[:3] %}

{{ class_name }} : {{ "%.2f"|format(prob*100) }}%

{% endfor %} {% elif img %}

Received Image

{% endif %} {% if pred_result %}



{% endif %}