In order to push your .pkl file you need to first install git-lfs. If using Ubuntu then run: sudo apt-get install git-lfs. See, https://www.tanishq.ai/blog/gradio_hf_spaces_tutorial, for more details.