Error when Cloning Space

#3
by OneOverZero - opened

Hi! Thank you for making this space :)
I'm the author of Go-with-the-Flow, and I'm trying to duplicate your space
However, it errors:
https://gist.github.com/SqrtRyan/f1e1f6e5844eb60b4de533db5406d6cf
This error happens before I try to submit anything. Interestingly, it seems I can use your instance just fine - but I can't duplicate it. Any idea why?
We would like to have this running ASAP - ideally before CVPR starts so we can scale it up and let thousands of people play with the model :)

Hi @OneOverZero the issue happens because pydantic had a breaking change and gradio depends on pydantic. When you duplicate the Space, it tries to install the latest version of all of the dependencies, leading to the breaking change.

You can fix this by upgrading gradio to the latest version, in which we pin pydantic appropriately. Alternatively, I've made a duplicate version of the Space, which you can duplicate directly: https://huggingface.co/spaces/abidlabs/Go-With-The-Flow

Sign up or log in to comment