How to add pip command parameter in gradio space
On my space here,https://huggingface.co/spaces/Lycoris53/test_buildSince 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.
2023-07-19T05:21:23Z
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.
2023-07-19T10:25:23Z
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 examplehuggingface.coDockerfile · SpacesExamples/Gradio-Docker-Template at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science.