Provide an image and have it classified by decaf.

Too lazy? Just click here for a simple cat example.

{% if has_result %}
{% if not result[0] %}
{{ result[1] }} Did you provide a valid URL or a valid image file?
{% else %}

Predictions:

    {% for single_pred in result[1] %}
  • {{ single_pred[1] }}

    {{ single_pred[0] }}

  • {% endfor %}

Classification took {{ result[2] }} seconds.

{% endif %}
{% endif %}