CompVis/stable-diffusion

run 'python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms ' fail

Ellenke opened this issue · 3 comments

After i run the code 'python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms '
it occurs the problem:
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like CompVis/stable-diffusion-safety-checker is not the path to a directory containing a file named preprocessor_config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

HOW TO SOLVE IT

I have the same problem, do you solve it?

Because the terminal can not connect the 'https://huggingface.co/', maybe you can use a proxy and also set the terminal to use the proxy to solve the problem.

spyware