toqi commited on
Commit
2be9459
·
1 Parent(s): 7616ecb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -11,8 +11,7 @@ import gradio as gr
11
  learn = load_learner('model.pkl')
12
 
13
  # %% ../Deploy to HF Space.ipynb 7
14
- bear_types = ('grizzly', 'black', 'teddy')
15
- bear_types = sorted(bear_types)
16
 
17
  # bear_types
18
 
 
11
  learn = load_learner('model.pkl')
12
 
13
  # %% ../Deploy to HF Space.ipynb 7
14
+ bear_types = learn.dls.vocab
 
15
 
16
  # bear_types
17