asaripa3 commited on
Commit
5d251cd
·
verified ·
1 Parent(s): 01c19fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ learn = load_learner("race_model.pkl")
17
  # In[72]:
18
 
19
  #|export
20
- categories = ("Indian", "American", "Korean", "African", "Chinese")
21
 
22
 
23
  def classify_image(img):
 
17
  # In[72]:
18
 
19
  #|export
20
+ categories = learn.dls.vocab
21
 
22
 
23
  def classify_image(img):