Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def predict(img):
|
|
| 18 |
pred, pred_idx, probs = learn.predict(img)
|
| 19 |
return {custom_labels[labels[i]]: float(probs[i]) for i in range(len(labels))}
|
| 20 |
|
| 21 |
-
examples = ['image.
|
| 22 |
interpretation = 'default'
|
| 23 |
enable_queue = True
|
| 24 |
|
|
|
|
| 18 |
pred, pred_idx, probs = learn.predict(img)
|
| 19 |
return {custom_labels[labels[i]]: float(probs[i]) for i in range(len(labels))}
|
| 20 |
|
| 21 |
+
examples = ['image.jpeg']
|
| 22 |
interpretation = 'default'
|
| 23 |
enable_queue = True
|
| 24 |
|