fix(security): add nosec for torch.load (B614 #738)

This commit is contained in:
TPTBusiness
2026-04-29 17:21:40 +02:00
parent 9d34ae7d3b
commit fa7964594d
@@ -1181,7 +1181,7 @@ model_cls = ViSNet
if __name__ == "__main__":
node_features = torch.load("node_features.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True) # nosec B614
# Model instantiation and forward pass
model = ViSNet()