Upload a grayscale image of a handwritten digit (0-9) to classify it using the CTM model, or train a new model.
Training in progress: {{ training_status.message }}
Progress: {{ training_status.progress | round(2) }}%
{% elif training_status.status == 'completed' %}Training completed: {{ training_status.message }}
{% elif training_status.status == 'error' %}Training failed: {{ training_status.message }}
{% endif %} {% if error %}{{ error }}
{% endif %} {% if prediction is defined %}Predicted Digit: {{ prediction }}
Certainty: {{ certainty }}