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.
10 lines
670 B
Django/Jinja
10 lines
670 B
Django/Jinja
{{ (row.start_time - start_time)|convert_vtt_timedelta }} --> {{ (row.end_time - start_time + duration_extend)|convert_vtt_timedelta }}
|
|
<c.{%- if row.verifier is not none -%}verified_cc{%- else -%}machine_cc{%- endif -%}>
|
|
{%- if row.transcription_json is none -%}
|
|
{{ row.transcription_line }}
|
|
{%- else -%}
|
|
{%- set line_start_time = row.transcription_json["result"][0]["start"] -%}
|
|
{%- for word in row.transcription_json["result"] -%}
|
|
<{{ ((row.start_time - start_time) + (word["start"] - line_start_time)|create_seconds_timedelta)|convert_vtt_timedelta }}>{{ word["word"] + " " }}
|
|
{%- endfor -%}
|
|
{%- endif -%}</c> |