Update app.py
Browse files
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 =
|
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 |
|