Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ellenke opened this issue Mar 26, 2024 · 3 comments

Comments

@Ellenke
Copy link

Ellenke commented Mar 26, 2024

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

@PlanktonQAQ
Copy link

I have the same problem, do you solve it?

@PlanktonQAQ
Copy link

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.

@ema7569
Copy link

ema7569 commented Apr 13, 2024

spyware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants