Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _cast_value(ctx: Context, value: Any, data_type: type | term.URIRef | None):
else:
raise ValueError(f"Type {type(value)} is not accepted for an image.")
elif data_type == DataType.AUDIO_OBJECT:
output = deps.librosa.load(io.BytesIO(value))
output = deps.librosa.load(io.BytesIO(value), sr=None)
return output
elif data_type == DataType.BOUNDING_BOX: # pytype: disable=wrong-arg-types
return bounding_box.parse(value)
Expand Down
Loading