Add the possibility to visualize language instructions in visualize_dataset_html.py (#388)

Co-authored-by: Mishig <dmishig@gmail.com>
This commit is contained in:
Michel Aractingi
2024-08-28 11:50:31 +02:00
committed by GitHub
parent 1ce418e4a1
commit 4806336816
2 changed files with 25 additions and 0 deletions

View File

@@ -100,6 +100,13 @@
{% endfor %}
</div>
<!-- Language instruction -->
{% if videos_info[0].language_instruction %}
<p class="font-medium mt-2">
Language Instruction: <span class="italic">{{ videos_info[0].language_instruction }}</span>
</p>
{% endif %}
<!-- Shortcuts info -->
<div class="text-sm hidden md:block">
Hotkeys: <span class="font-mono">Space</span> to pause/unpause, <span class="font-mono">Arrow Down</span> to go to next episode, <span class="font-mono">Arrow Up</span> to go to previous episode.