Spaces:
Runtime error
Runtime error
seamusbarnes commited on
Commit ·
768d1ee
1
Parent(s): 515185b
fixed typo
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
|
| 4 |
learn = load_learner('export.pkl')
|
| 5 |
|
| 6 |
-
labels = learn.dls.
|
| 7 |
|
| 8 |
def predict(img):
|
| 9 |
img = PILImage.create(img)
|
|
|
|
| 3 |
|
| 4 |
learn = load_learner('export.pkl')
|
| 5 |
|
| 6 |
+
labels = learn.dls.vocab
|
| 7 |
|
| 8 |
def predict(img):
|
| 9 |
img = PILImage.create(img)
|