Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo docker build fails due to pedantic issues #60

Closed
andreped opened this issue Jun 21, 2024 · 0 comments · Fixed by #61
Closed

Demo docker build fails due to pedantic issues #60

andreped opened this issue Jun 21, 2024 · 0 comments · Fixed by #61
Labels
bug Something isn't working

Comments

@andreped
Copy link
Member

Describe the bug
In Hugging Face spaces we now get this during build:

ImportError: cannot import name 'RootModel' from 'pydantic'

This is likely due to the recent gradio upgrade. Most likely we just need to upgrade pydantic or remove any pydantic-related hacks from the `Dockerfile´.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant