Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def get_x(r):
|
|
11 |
def get_y(r):
|
12 |
return r['labels'].split(' ')
|
13 |
|
14 |
-
|
15 |
|
16 |
labels = learner.dls.vocab
|
17 |
|
|
|
11 |
def get_y(r):
|
12 |
return r['labels'].split(' ')
|
13 |
|
14 |
+
learner = load_learner('model.pkl')
|
15 |
|
16 |
labels = learner.dls.vocab
|
17 |
|