I deleted the Gradio version specification in the requiements.txt file and changed the Gradio version specification in the README.md file to 4.x. The behavior changed a bit, but the git clone still fails…
I wonder if it has something to do with the fact that the result of Space’s automatic virus scan is unsafe? It might not be related.
Edit:
I’ve looked at the commit history and there doesn’t appear to be any git-related changes in the past month. Something about a spec change in the HF space or a bug.
I can’t tell which git clone is failing, which is a problem to work around.
I commented out the Dockerfile stuff and it still happens.
I found similar symptoms, but they do not seem to be exactly the same situation.