I deployed an app and it works perfectly at the first time.
log when I used the function for the first time
loading weights file pretrained_mask_ins0209/pytorch_model.bin
All model checkpoint weights were used when initializing MaskClassifier.
However, when I try using it for the second time it fails to load pretrained weights.
log when I used the function for the second time
loading weights file pretrained_mask_ins0209/pytorch_model.bin
[manager] Error checking Streamlit healthz: Get “http://localhost:8501/healthz”: dial tcp 127.0.0.1:8501: connect: connection refused
But this same file works fine when running at local. Can you give me any advice?