Brain Age Prediction
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
- {{ message }}
{% endfor %}
{% endif %}
{% endwith %}
{% if prediction %}
Prediction Result
Predicted Brain Age: {{ prediction }}
{% endif %}
{# Saliency Map Display Section - Modified for Dynamic Loading #}
{% if saliency_info %}
Saliency Map Visualizations (Axial View)
{# Slice Slider and Label #}
{# Store unique_id AND temp_dir_path as data attributes #}
Loading... {# Small loading text #}
Input Slice
{# Use initial center slice data #}
Saliency Heatmap
{# Use initial center slice data #}
Overlay
{# Use initial center slice data #}
{# JavaScript for Slider Interaction with Fetch #}
{% endif %}