Spaces:
Sleeping
Sleeping
Dan Biagini
commited on
Commit
·
3bdc5a4
1
Parent(s):
db5e8f4
touch up
Browse files
app.py
CHANGED
@@ -16,5 +16,6 @@ def classify_image(img):
|
|
16 |
pred,idx,prob = learn.predict(img)
|
17 |
return dict(zip(categories, map(float, prob)))
|
18 |
|
19 |
-
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label,
|
|
|
20 |
iface.launch(share=True, debug=True)
|
|
|
16 |
pred,idx,prob = learn.predict(img)
|
17 |
return dict(zip(categories, map(float, prob)))
|
18 |
|
19 |
+
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, theme=gr.themes.Glass(),
|
20 |
+
examples=[skater_example, ref_example, goalie_example])
|
21 |
iface.launch(share=True, debug=True)
|