Spaces:
Running
Broken models [SOLVED]
Can you fix your models please. Every time I hit the generate button it immediately errors. It’s not the spaces including Toyworld but it the models that don’t work. The models are Yntec, digiplay and john6666. Please fix.
Thank you
Sorry, I'm helpless, I'll try summoning @John6666 [EDIT - Things are working right now and the error below can't be reproduced] in case this isn't a temporary problem. This is what I'm getting when trying to fetch models in fresh spaces:
Could not find model: Yntec/Yiffyverse. If it is a private or gated model, please provide your Hugging Face access token (https://huggingface.co/settings/tokens) as the argument for the `hf_token` parameter.
I'm using this space as an example: https://huggingface.co/spaces/Yntec/MiniToyWorld - it worked two days ago, now it can't find any model.
I copied your space and replicated the problem, then added a secret HF_TOKEN in the settings with a read-only token from my account and it started working again. If you don't want everyone using your token, adding the standard "log in with hf" button should also work (not tested)
UPDATE: It's working right now! I just made a picture and fetched the models!
It seems to be an intermittent problem, all models may be broken when you try to use them, but they will come back later. I think it's a thing that will work permanently once its internals get fixed, and does not need any code change.
E... It looks like the handling of HF tokens has been changed, so I fixed it, but it's fixed!
It didn't even need fixing!😅
Edit:
It seems that HF is looking for a fix in the production environment, and I think the behavior of things like tokens is changing about once a week...
Edit:
HF is now fixing...
https://discuss.huggingface.co/t/model-does-not-exist-inference-api-dont-work/145242/3