Spaces automatically installs pydantic 2.5.2, though it is incompatible with my app
I need to use version 1.9.x or below and the build for the container automatically overwrites it. is there any way to change this?
2023-12-08T02:47:47Z
hi@woodr7are you using the Gradio SDK? have you tried setting it onpre-requirements.txtorrequirements.txt?
2023-12-13T18:51:23Z
I’m using the Streamlit SDK. is gradio more flexible?@radames
2023-12-13T19:02:19Z
I have tried setting it on requirements.txt but after installing the correct version (1.10.13) it overwrites it with 2.5.2
2023-12-14T03:31:51Z
For our specific SDKs Gradio/Streamlit we have specific Dockerfiles. Maybe@whitphxcan help you with the issue with Streamilt and pydantic version?
2023-12-14T18:00:52Z
@whitphxThat would be extremely helpful!
2023-12-14T20:20:40Z
@woodr7o another solution is to use the Docker SDK and you’re free to write the build steps, we have a template herehuggingface.coDockerfile · SpacesExamples/streamlit-docker-example at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2023-12-18T23:47:29Z
Hi@woodr7, thank you for reporting it.I will delegate it to the Spaces team to solve.Please try using the Docker SDK as@radamessuggested for now, sorry.
2024-06-10T15:54:46Z
Any updates on this@whitphx?@woodr7did you manage to bring your space back up via the Dockerfile?