How to change the endpoint of SAM for cornerstonejs/ai extension

I was trying to use OHIF in an private environment, by default the cornerstonejs/ai library is using the onnx file of SAM [vit_b model] from HuggingFace. I want to change that to a private endpoint, how can I do that?

Thanks