Skip to content

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

@Ellenke

Description

@Ellenke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions