Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def recognize_image(image):
|
|
| 13 |
pred, idx, probs = model.predict(image)
|
| 14 |
return dict(zip(cap_labels, map(float, probs)))
|
| 15 |
|
| 16 |
-
image = gr.Image(
|
| 17 |
label = gr.Label(num_top_classes=5)
|
| 18 |
examples = [
|
| 19 |
'unknown00.png',
|
|
|
|
| 13 |
pred, idx, probs = model.predict(image)
|
| 14 |
return dict(zip(cap_labels, map(float, probs)))
|
| 15 |
|
| 16 |
+
image = gr.Image()
|
| 17 |
label = gr.Label(num_top_classes=5)
|
| 18 |
examples = [
|
| 19 |
'unknown00.png',
|