huggingface / huggingface/dataset-viewer

add "duration" field to audio cells

Open
#2,873 0 comments 0 reactions 0 assignees View on GitHub
api improvement / optimization P2
Dominant language
Python
Stars
899
Forks
130
Avg merge
9h 26m
Merged PRs (30d)
14

Description

As it was done with width/height for image cells: https://github.com/huggingface/dataset-viewer/pull/600

It will help to show additional information in the dataset viewer, in particular: highlighting a row will select the appropriate bar in the durations histogram.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how width and height are added for image cells, using the referenced pull request 600 as the entry point, then find the corresponding audio-cell representation. Done means audio cells expose a duration value that the dataset viewer can use to select the matching bar in the durations histogram.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.