HumanSignal / HumanSignal/label-studio
Change the labelling interface based on the task input data (for Audio and Video)
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Is your feature request related to a problem? Please describe.**
I am working with audio and video files that I have to classify. The media files are stored in S3. I would like to show the [`Audio` ](https://labelstud.io/tags/audio) tag if the file extension is `.mp3` and the [`Video`](https://labelstud.io/tags/video) tag if the file extension is `.mp4`. However, I am unsure how to dynamically display the appropriate tag based on the input data.
**Describe the solution you'd like**
```xml
```
with
```json
{
"media": "s3://bucket/singing-under-shower.mp3"
}
```
**Describe alternatives you've considered**
The workaround I found was to use `HyperText` and provide HTML in the JSON tasks, but the result doesn't look as good and doesn't support LabelStudio labelling capabilities.
```xml
```
For audio tasks:
```json
{
"media": ""
}
```
For video tasks:
```json
{
"media": ""
}
```
Contributor guide
Assessment
This issue has not been assessed yet.