Build Error: Job failed with exit code: 1 (while creating a space at hugging Face)

Could it be Streamlit Space?
If so, you may need to delete one line from the default Dockerfile.