return render_template('index.html', prob=prob)
{% if prob is defined and prob > 50 %} <h4>We're {{prob}} % sure it's a cat image :D</h4> {% elif prob is defined %} <h4>We don't think it's a cat image :O</h4> {% endif %}