Diffusers Pipeline, Can't Connect to the Hub
Tried to get a beginner first script working.I have this working on muc slower laptop, but not on my desktop, so I presume not a internet provider issue. No proxy, vpn. Windows defender firewall same on both computers.installedpip install diffusers transformers torch accelerate scipy imageio matplotlib opencv-pythonpipe = StableDiffusionPipeline.from_pretrained(‘runwayml/stable-diffusion-v1-5’) won’t work, nor any other model. Nothing will connect to Hugging Face, but works on my laptop.I just reinstalled Windows and still no luck.(diffusers) PS C:\Users\James\Desktop\creative-image-generation> python .\txt2img_stable_diffusion.pyCouldn’t connect to the Hub: (ProtocolError(‘Connection aborted.’, ConnectionResetError(10054, ‘An existing connection was forcibly closed by the remote host’, None, 10054, None)), ‘(Request ID: 78ad92d3-d368-498b-af81-5a498a559d84)’).Will try to load from local cache.Loading pipeline components…:  14%|███████████████████▍                                                                                                                    | 1/7 [00:00<00:00, 46.96it/s]Traceback (most recent call last):File “C:\Users\James\Desktop\creative-image-generation\txt2img_stable_diffusion.py”, line 15, inpipe = StableDiffusionPipeline.from_pretrained(‘runwayml/stable-diffusion-v1-5’)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\huggingface_hub\utils_validators.py”, line 119, in _inner_fnreturn fn(*args, **kwargs)^^^^^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\diffusers\pipelines\pipeline_utils.py”, line 819, in from_pretrainedloaded_sub_model = load_sub_model(^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\diffusers\pipelines\pipeline_loading_utils.py”, line 473, in load_sub_modelloaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\huggingface_hub\utils_validators.py”, line 119, in _inner_fnreturn fn(*args, **kwargs)^^^^^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\diffusers\models\modeling_utils.py”, line 632, in from_pretrainedmodel_file = _get_model_file(^^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\huggingface_hub\utils_validators.py”, line 119, in _inner_fnreturn fn(*args, **kwargs)^^^^^^^^^^^^^^^^^^^File “C:\Users\James\miniconda3\envs\diffusers\Lib\site-packages\diffusers\utils\hub_utils.py”, line 306, in _get_model_fileraise EnvironmentError(OSError: Error no file named diffusion_pytorch_model.bin found in directory C:\Users\James.cache\huggingface\hub\models–runwayml–stable-diffusion-v1-5\snapshots\1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9\unet.