Text-to-Image
stable-diffusion

Hugging Face json suddenly stopped working

#9
by Philomorph - opened

I was using SD fine since installing it yesterday. It was working this morning until about 40 minutes ago. Now suddenly whenever I run it, I get this error:

OSError: It looks like the config file at 'C:\Users[redacted]/.cache\huggingface\transformers\9c24e6cd9f499d02c4f21a033736dabd365962dc80fe3aeb57a8f85ea45a20a3.26fead7ea4f0f843f6eb4055dfd25693f1a71f3c6871b184042d4b126244e142' is not a valid JSON file.

I deleted everything from the .cache folder so it redownloaded them, but still throws the same error.

I checked the file in question and it points to a URL that is a JSON file on this website:

{"url": "https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/config.json", "etag": ""fd2437b2c4b8d8c50bf8ce1cde84c286ed279f6c""}

Looks like it's working again. Thanks!

Philomorph changed discussion status to closed

Sign up or log in to comment