diff --git a/src/sdialog/audio/pipeline.py b/src/sdialog/audio/pipeline.py index e285b12..ad3b3ed 100644 --- a/src/sdialog/audio/pipeline.py +++ b/src/sdialog/audio/pipeline.py @@ -411,7 +411,7 @@ def populate_dscaper( ): filename = data["audio"]["path"].split("/")[-1] - label_str = dataset.features["label"].names[data["label"]] + label_str = data["label"] # WARNING: Create a name for the "library" based # on the dataset name minus the organization name