On my space here,
https://huggingface.co/spaces/Lycoris53/test_build
Since today Cython3.0 release, I could not get pyopenjtalk to compile.
Current solution is to add --no-build-isolation when calling pip.
It seems that I cannot add this command in the requirements.txt.
How do I modify the command calling the pip in the gradio spaces?
Any help is appreciate.
Solved, I changed the space configuration from gradio space to docker space and config pip command to use --no-build-isolation.
I didn’t know before that you can change the space type just by changing Readme file.
perfect, this was the best approach indeed, if you use a specific pip command, you can’t overwrite the base Dockerfile for the Gradio SDK, so we recommend using the a Dockerfile, for example
1 Like