Couldn't get readme example to work - workspaces wouldn't load
brettimus opened this issue · 5 comments
Could you add documentation on how to configure/use your own stable diffusion models? I got timeouts when trying to connect to the models that the stable diffusion tool relies on
Thanks for this project btw! Looks really cool and fits well with something I want to prototype
Hi @brettimus ! Thanks for the feedback.
Normally, you can create your own version of the space via grc.Client("", hf_token="....", duplicate=True)
however that will not work for the stable diffusion space since there are some environment variables set in that space that will not be copied over.
Let me think on this and get back to you!
I ran in to an issue when using the stable diffusion tool today, it worked fine until then.
It seems it is trying to connect to https://huggingface.co/api/spaces/gradio-client-demos/stable-diffusion. This causes a gateway time-out error. My question is: shouldn’t it connect to https://huggingface.co/spaces/gradio-client-demos/stable-diffusion instead?
Hi @giannisanni ! I think the issue with the connection is that hugging face spaces went down briefly this morning. Should be back up now!
Hi @brettimus !
gradio-tools 0.0.9 is now released. This includes a new stable diffusion tool that can be easily duplicated when you pass in your own hf_token
, i.e. tool = StableDiffusionTool(hf_token="...", duplicate=True)
. That will create your own private version of the space. You can then upgrade the hardware.
This should make it easier to avoid timeouts.
Thanks! That's awesome. Appreciate the quick patch