Spaces:
Sleeping
Sleeping
Commit
·
6f11758
1
Parent(s):
7408b25
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,6 @@ learn = from_pretrained_fastai(repo_id)
|
|
| 7 |
labels = learn.dls.vocab
|
| 8 |
|
| 9 |
|
| 10 |
-
|
| 11 |
def predict(img):
|
| 12 |
img = PILImage.create(img)
|
| 13 |
_pred, _pred_w_idx, probs = learn.predict(img)
|
|
|
|
| 7 |
labels = learn.dls.vocab
|
| 8 |
|
| 9 |
|
|
|
|
| 10 |
def predict(img):
|
| 11 |
img = PILImage.create(img)
|
| 12 |
_pred, _pred_w_idx, probs = learn.predict(img)
|