Skip to content

Commit d3dd1a3

Browse files
Update bioimageio/core/build_spec/build_model.py
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent cebec16 commit d3dd1a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bioimageio/core/build_spec/build_model.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ def _get_weights(
114114
)
115115

116116
elif weight_type == "torchscript":
117-
weights = model_spec.raw_nodes.TorchscriptWeightsEntry(
118-
source=weight_source, sha256=weight_hash, **attachments
119-
)
117+
weights = model_spec.raw_nodes.TorchscriptWeightsEntry(source=weight_source, sha256=weight_hash, **attachments)
120118

121119
elif weight_type == "keras_hdf5":
122120
if tensorflow_version is None:

0 commit comments

Comments
 (0)