Can't update spaces

#2
by Yntec - opened

@John6666 Hey! Can you help? The code you provided doesn't seem to be working anymore for new spaces/updated spaces. This space is working properly, but if I clone or update it it doesn't work anymore and throws this error when trying to generate an image:

InferenceClient.text_to_image() got an unexpected keyword argument 'token'

I wonder if it is temporary or if we need to update externalmod.py so it works with something that changed in the last 20 hours? (Yntec/ToyWorld is currently dead because I tried to update it.)

The cause is that the huggingface_hub library has been updated.
Here's a patch that will get it working for now. Just upload the requirements.txt file like this content. If you already have a requirements.txt file for your space, just add the following to that file.

huggingface_hub==0.26.2

Just checked now, thanks! It's so great to have your help!

Yntec changed discussion status to closed

You two are gems on HuggingFace ๐Ÿ˜. Great works!

Hey FashionStash! Great to see you!

Hey @Yntec me also, I'm glad to see you always here and releasing new treasures to play and works with.

By the way, I don't forgot what I said related to make you a model showcase of your models.

But for yet, I'm not full of free time. It's a shame, because I already started to developing a space in HTML to show through Web my Model Showcase. But I need to get more free time to get it up to public.
I dislike releasing work in progress that can downgrade my work! ๐Ÿ˜

Haha! I know how it is! Back in February there was a point where I merged more than a hundred models, but from them I only released 2, the other 98 were not to my liking enough to release them even if they probably were better than what I released previously! I'm a perfectionist so I also have planned to come back to my first models I released and update them to today's stabndards. Also, there are new text encoders and VAEs that are supposedly great but I'm so busy releasing models that I haven't checked them out yet, lol.

Thanks for your interest and I hope you get all the free time you need!

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment