Spaces:
Runtime error
Runtime error
dudko
commited on
Commit
·
325714d
1
Parent(s):
7f87c04
update app
Browse files
app.py
CHANGED
@@ -14,5 +14,4 @@ title = "Hand Gesture Classifier"
|
|
14 |
description = "A hand gesture classifier trained for two classes thumbs up and heart gesture. Created as a demo for Gradio and HuggingFace Spaces."
|
15 |
|
16 |
examples = ['boy_thumbs_up.jpg', 'girl_thumbs_up.jpg', 'man_heart.jpg', 'heart.jpg']
|
17 |
-
gr.Interface(fn=predict, inputs=gr.components.Image(
|
18 |
-
interpretation='default').launch(share=True)
|
|
|
14 |
description = "A hand gesture classifier trained for two classes thumbs up and heart gesture. Created as a demo for Gradio and HuggingFace Spaces."
|
15 |
|
16 |
examples = ['boy_thumbs_up.jpg', 'girl_thumbs_up.jpg', 'man_heart.jpg', 'heart.jpg']
|
17 |
+
gr.Interface(fn=predict, inputs=gr.components.Image(height=512, width=512), outputs=gr.components.Label(num_top_classes=2), title=title, description=description, examples=examples).launch(share=True)
|
|