File size: 875 Bytes
09a7e5f
 
 
 
 
 
 
 
 
 
 
 
17c9cc7
 
 
09a7e5f
0832592
 
 
 
 
17c9cc7
 
 
0832592
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
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).