--- title: Fastai_pet_classifier emoji: 🐠 colorFrom: green colorTo: indigo sdk: gradio sdk_version: 2.9.4 app_file: app.py pinned: false license: apache-2.0 --- # Disclaimer Note: This is a reproduction of the amazing blogpost done by tmabraham https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference Steps - Create a new hf space in your account - Install git-lfs in order to manager our large model files. Jeremy provided this script https://gist.github.com/jph00/361a9b868aa3593f3fd8e930d0221266. I had to modify the PREFIX in the install.sh since I do not have enough space in PREFIX location. Instead I changed it to $HOME directory. - Add export.pkl manually using the hf space. We can directly push to hub using `push_to_hub_fastai` function provided (see app.py).