{% load i18n %} {% if error %} {% else %}

{% trans "Analysis complete" %}

{{ result.filename|default:"Audio file" }}

{% trans "Ready" %}
{% blocktrans with duration=result.duration_seconds|default:"—" %}{{ duration }} seconds{% endblocktrans %} {% blocktrans with frames=result.frames_analysed|default:"—" %}{{ frames }} frames analysed{% endblocktrans %} {% blocktrans with rate=result.yamnet_sample_rate|default:"—" %}{{ rate }} Hz model rate{% endblocktrans %}
{% if firework_count %}✦ {% blocktrans count count=firework_count %}{{ count }} firework-related signal{% plural %}{{ count }} firework-related signals{% endblocktrans %}{% endif %} {% if speech_count %}● {% blocktrans count count=speech_count %}{{ count }} speech/privacy signal{% plural %}{{ count }} speech/privacy signals{% endblocktrans %}{% endif %}

{% trans "Top sound classes" %}

{% if predictions %}
    {% for prediction in predictions %}
  • {{ prediction.label }} {{ prediction.score_display }}
  • {% endfor %}
{% else %}

{% trans "No overall predictions were returned." %}

{% endif %}

{% trans "Notable moments" %}

{% if peak_predictions %}
{% for prediction in peak_predictions %}
{{ prediction.time_seconds|default:"—" }}s · frame {{ prediction.frame|default:"—" }}
{{ prediction.label }} {{ prediction.score_display }}
{% endfor %}
{% else %}

{% trans "No peak events were returned." %}

{% endif %}
{% if submission_token %}
{% trans "Submit this sample for review" %}

{% trans "The audio and signed classifier response will be added to Pending." %}

{% endif %}
{% endif %}