Spaces:
Build error
Build error
wip
Browse files
app.py
CHANGED
@@ -14,5 +14,5 @@ def classify_image(img):
|
|
14 |
pred, _, prob = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|
16 |
|
17 |
-
intf = gr.Interface(fn=classify_image, inputs=image,
|
18 |
intf.launch(inline=False)
|
|
|
14 |
pred, _, prob = learn.predict(img)
|
15 |
return dict(zip(categories, map(float, probs)))
|
16 |
|
17 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(inline=False)
|