Text's Category
{% for class_label, probability in class_probabilities.items() %} {% if loop.index <= 5 %}
{{ class_label[0] }}:
{{ "%.2f" % probability }}%
{% endif %} {% endfor %}
la classe la plus dominante est
{{ predicted_class[0] }}