Skip to content

Commit 26be8bf

Browse files
authored
Don't change librosa in this branch
1 parent 1a9c09f commit 26be8bf

File tree

1 file changed

+1
-1
lines changed
  • python/mlcroissant/mlcroissant/_src/operation_graph/operations

1 file changed

+1
-1
lines changed

python/mlcroissant/mlcroissant/_src/operation_graph/operations/field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _cast_value(ctx: Context, value: Any, data_type: type | term.URIRef | None):
9696
else:
9797
raise ValueError(f"Type {type(value)} is not accepted for an image.")
9898
elif data_type == DataType.AUDIO_OBJECT:
99-
output = deps.librosa.load(io.BytesIO(value), sr=None)
99+
output = deps.librosa.load(io.BytesIO(value))
100100
return output
101101
elif data_type == DataType.BOUNDING_BOX: # pytype: disable=wrong-arg-types
102102
return bounding_box.parse(value)

0 commit comments

Comments
 (0)