You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
331 B
Django/Jinja
16 lines
331 B
Django/Jinja
{
|
|
"num_reports": {{ num_reports}}
|
|
{%- if cer_avg and wer_avg %}
|
|
,
|
|
"cer_avg": {{ cer_avg|json_float }},
|
|
"wer_avg": {{ wer_avg|json_float }}
|
|
{%- endif %}
|
|
{%- if diff_c and wer_avg %}
|
|
,
|
|
"differences": {
|
|
"character_level": {{ diff_c|tojson }},
|
|
"word_level": {{ diff_w|tojson }}
|
|
}
|
|
{%- endif %}
|
|
}
|