How to resolve this error?

OSError: We couldn’t connect to ‘https://huggingface.co’ to load this model, couldn’t find it in the cached files and it looks like “CompVis/stable-diffusion-v1-4” is not the path to a directory containing a scheduler_config.json file. Checkout your internet connection or see how to run the library in offline mode at ‘Installation’.